From cd75025af1c77147039f08633b2a4f0eb5b0f899 Mon Sep 17 00:00:00 2001 From: Darren Date: Sat, 18 Oct 2014 21:10:51 +0100 Subject: [PATCH] User/Channel dispose removing vars to early --- server/irc/channel.js | 1 - server/irc/user.js | 1 - 2 files changed, 2 deletions(-) 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; }; -- 2.25.1