summaryrefslogtreecommitdiff
path: root/pages/log.js
diff options
context:
space:
mode:
Diffstat (limited to 'pages/log.js')
-rw-r--r--pages/log.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/pages/log.js b/pages/log.js
index b7fe9e3..fdf6123 100644
--- a/pages/log.js
+++ b/pages/log.js
@@ -55,7 +55,7 @@ function nickhash(nick) {
var h = 0;
for (var i = 0; i < nick.length; i++)
h ^= (h << 5) + (h >> 2) + nick.charCodeAt(i);
- return h;
+ return h & 0x7fffffff;
}
function renderNickColors(dark) {