From: Darren Date: Sat, 18 Oct 2014 20:10:51 +0000 (+0100) Subject: User/Channel dispose removing vars to early X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=cd75025af1c77147039f08633b2a4f0eb5b0f899;p=KiwiIRC.git User/Channel dispose removing vars to early --- diff --git a/server/irc/channel.js b/server/irc/channel.js index 089aefc..afee796 100644 --- a/server/irc/channel.js +++ b/server/irc/channel.js @@ -40,7 +40,6 @@ module.exports = IrcChannel; IrcChannel.prototype.dispose = function (){ EventBinder.unbindIrcEvents('channel ' + this.name, this.irc_events, this.irc_connection); - this.irc_connection = undefined; }; diff --git a/server/irc/user.js b/server/irc/user.js index 9987ad3..39bdcca 100755 --- a/server/irc/user.js +++ b/server/irc/user.js @@ -43,7 +43,6 @@ module.exports = IrcUser; IrcUser.prototype.dispose = function () { EventBinder.unbindIrcEvents('user ' + this.nick, this.irc_events, this.irc_connection); - this.irc_connection = undefined; };