Fix typo
authorJack Allnutt <m2ys4u@gmail.com>
Thu, 24 Jan 2013 18:49:49 +0000 (18:49 +0000)
committerDarren <darren@darrenwhitlen.com>
Thu, 31 Jan 2013 14:58:42 +0000 (14:58 +0000)
server/irc/user.js

index 5cf9dc4bbaacc74770f72182ade9115f8d542043..c4fa2b78f46ef99536503515d5f0ba00253d0b00 100755 (executable)
@@ -5,7 +5,7 @@ var IrcUser = function (irc_connection, nick) {
 \r
 module.exports = IrcUser;\r
 \r
-IrcUser.prototype.bindEvents = function() {\r
+IrcUser.prototype.bindEvents = function () {\r
     var that = this;\r
 \r
     // If we havent generated an event listing yet, do so now\r
@@ -39,7 +39,7 @@ IrcUser.prototype.bindEvents = function() {
 };\r
 \r
 \r
-IrcChannel.prototype.unbindEvents = function () {\r
+IrcUser.prototype.unbindEvents = function () {\r
     this.irc_events.forEach(function(fn, event_name, irc_events) {\r
         if (irc_events[event_name].bound_fn) {\r
             this.irc_connection.removeListener('user:' + this.nick + ':' + event_name, irc_events[event_name].bound_fn);\r