From 441f18aa71c9f6c424deb07dc44a7b0589af42a3 Mon Sep 17 00:00:00 2001 From: Darren Date: Tue, 29 Jan 2013 00:38:53 +0000 Subject: [PATCH] Missed a single IrcUser per nick related comment --- server/irc/user.js | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/server/irc/user.js b/server/irc/user.js index de66a5a..37e50b5 100755 --- a/server/irc/user.js +++ b/server/irc/user.js @@ -42,9 +42,11 @@ function onNick(event) { hostname: event.hostname, newnick: event.newnick }); - EventBinder.unbindIrcEvents('user:' + this.nick, this.irc_events); - this.nick = event.newnick; - EventBinder.bindIrcEvents('user:' + this.nick, this.irc_events, this, irc_connection); + + // TODO: uncomment when using an IrcUser per nick + //EventBinder.unbindIrcEvents('user:' + this.nick, this.irc_events, irc_connection); + //this.nick = event.newnick; + //EventBinder.bindIrcEvents('user:' + this.nick, this.irc_events, this, irc_connection); }; function onAway(event) { -- 2.25.1