projects
/
KiwiIRC.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a7a1a6f
)
/ char allowed in the username for ZNC multi servers
author
Darren
<darren@Darrens-MacBook-Pro.local>
Mon, 8 Apr 2013 16:03:47 +0000
(17:03 +0100)
committer
Darren
<darren@Darrens-MacBook-Pro.local>
Mon, 8 Apr 2013 16:03:47 +0000
(17:03 +0100)
server/irc/connection.js
patch
|
blob
|
blame
|
history
diff --git
a/server/irc/connection.js
b/server/irc/connection.js
index e6ba18a365b640a7c59e6933a8d7059dfa9366dc..c392cac91da2ba51686693dedb3e324703629663 100644
(file)
--- a/
server/irc/connection.js
+++ b/
server/irc/connection.js
@@
-41,7
+41,7
@@
var IrcConnection = function (hostname, port, ssl, nick, user, pass, state) {
// User information
this.nick = nick;
this.user = user; // Contains users real hostname and address
- this.username = this.nick.replace(/[^0-9a-zA-Z\-_.]/, '');
+ this.username = this.nick.replace(/[^0-9a-zA-Z\-_.
\/
]/, '');
this.password = pass;
// State object