RPL_ENDOFBANLIST fix
authorDarren <darren@Darrens-MacBook-Pro.local>
Sun, 3 Mar 2013 20:07:51 +0000 (20:07 +0000)
committerDarren <darren@Darrens-MacBook-Pro.local>
Sun, 3 Mar 2013 20:42:12 +0000 (20:42 +0000)
server/irc/commands.js

index 1678b726ee4bdd80f52e05bd7c3d26fbebe5bfe5..d37186cb32fc0e60b73ab66fed3ab87af7f3cee8 100644 (file)
@@ -252,7 +252,7 @@ var listeners = {
     },
     'RPL_ENDOFBANLIST': function (command) {
         this.irc_connection.emit('channel:' + command.params[1] + ':banlist_end', {
-            channel: commands.params[1]
+            channel: command.params[1]
         });
     },
     'RPL_TOPIC': function (command) {