From: Jack Allnutt Date: Thu, 24 Jan 2013 18:49:49 +0000 (+0000) Subject: Fix typo X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=c28e31d9c599036dd9cc272f69af09ad50fdd898;p=KiwiIRC.git Fix typo --- diff --git a/server/irc/user.js b/server/irc/user.js index 5cf9dc4..c4fa2b7 100755 --- a/server/irc/user.js +++ b/server/irc/user.js @@ -5,7 +5,7 @@ var IrcUser = function (irc_connection, nick) { module.exports = IrcUser; -IrcUser.prototype.bindEvents = function() { +IrcUser.prototype.bindEvents = function () { var that = this; // If we havent generated an event listing yet, do so now @@ -39,7 +39,7 @@ IrcUser.prototype.bindEvents = function() { }; -IrcChannel.prototype.unbindEvents = function () { +IrcUser.prototype.unbindEvents = function () { this.irc_events.forEach(function(fn, event_name, irc_events) { if (irc_events[event_name].bound_fn) { this.irc_connection.removeListener('user:' + this.nick + ':' + event_name, irc_events[event_name].bound_fn);