Missed a single IrcUser per nick related comment
authorDarren <darren@darrenwhitlen.com>
Tue, 29 Jan 2013 00:38:53 +0000 (00:38 +0000)
committerDarren <darren@darrenwhitlen.com>
Thu, 31 Jan 2013 14:58:44 +0000 (14:58 +0000)
server/irc/user.js

index de66a5a78026115442bf07bbc518ec9b87cb56ad..37e50b5d15e0dce6b48bb40c1382885349bb8038 100755 (executable)
@@ -42,9 +42,11 @@ function onNick(event) {
         hostname: event.hostname,\r
         newnick: event.newnick\r
     });\r
-    EventBinder.unbindIrcEvents('user:' + this.nick, this.irc_events);\r
-    this.nick = event.newnick;\r
-    EventBinder.bindIrcEvents('user:' + this.nick, this.irc_events, this, irc_connection);\r
+\r
+    // TODO: uncomment when using an IrcUser per nick\r
+    //EventBinder.unbindIrcEvents('user:' + this.nick, this.irc_events, irc_connection);\r
+    //this.nick = event.newnick;\r
+    //EventBinder.bindIrcEvents('user:' + this.nick, this.irc_events, this, irc_connection);\r
 };\r
 \r
 function onAway(event) {\r