From 02dd57dad0a1dbb562ef00af3caffeb05637c3ec Mon Sep 17 00:00:00 2001 From: calzoneman Date: Sun, 16 Feb 2014 02:16:58 -0600 Subject: [PATCH] Fix casing issue --- www/assets/js/callbacks.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/www/assets/js/callbacks.js b/www/assets/js/callbacks.js index 01a00dbb..2c45da07 100644 --- a/www/assets/js/callbacks.js +++ b/www/assets/js/callbacks.js @@ -586,10 +586,11 @@ Callbacks = { }, setUserRank: function (data) { + data.name = data.name.toLowerCase(); var entries = $("#cs-chanranks table").data("entries") || []; var found = false; for (var i = 0; i < entries.length; i++) { - if (entries[i].name === data.name) { + if (entries[i].name.toLowerCase() === data.name) { entries[i].rank = data.rank; found = i; break;