alexyoung/ircd.js — Issue #17: Some people could not PM each other reason #2
Author: treeform
Created: 2011-11-20 03:05:57+00:00
State: open

It looks like the name normalization was leaving spaces at the end or beginning of names, I propose we trim it as well:

normalizeName: function(name) {
return name &&
name.toLowerCase()
.replace(/{/g, '[')
.replace(/}/g, ']')
.replace(/\|/g, '\\')
.trim();
},