projects
/
KiwiIRC.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
266b508
)
Send the modified USER line to the IRCd
author
Jack Allnutt
<m2ys4u@Gmail.com>
Thu, 8 Nov 2012 23:21:29 +0000
(23:21 +0000)
committer
Jack Allnutt
<m2ys4u@Gmail.com>
Thu, 8 Nov 2012 23:21:29 +0000
(23:21 +0000)
server/irc/connection.js
patch
|
blob
|
blame
|
history
diff --git
a/server/irc/connection.js
b/server/irc/connection.js
index 34f0777a63e977580b9a7804a1c7319662c8bc2e..5603872db3ffd85714105b02855ce53be98e2a82 100644
(file)
--- a/
server/irc/connection.js
+++ b/
server/irc/connection.js
@@
-121,7
+121,7
@@
IrcConnection.prototype.register = function () {
this.write('PASS ' + this.password);
}
this.write('NICK ' + this.nick);
- this.write('USER ' + this.
nick.replace(/[^0-9a-zA-Z\-_.]/, '')
+ ' 0 0 :' + '[www.kiwiirc.com] ' + this.nick);
+ this.write('USER ' + this.
user
+ ' 0 0 :' + '[www.kiwiirc.com] ' + this.nick);
if (this.cap_negotation) {
this.write('CAP END');
}