Merge pull request #144 from kode54/master

Corrected user list prefix priority and added an extra mode prefix.
This commit is contained in:
Mattias Erming 2014-09-14 12:53:01 +02:00
commit caae8b859f

View File

@ -27,8 +27,9 @@ Chan.prototype.sortUsers = function() {
); );
var modes = [ var modes = [
"~", "~",
"%", "&",
"@", "@",
"%",
"+", "+",
].reverse(); ].reverse();
modes.forEach(function(mode) { modes.forEach(function(mode) {