mini refactor
authorPepijn de Vos <pepijndevos@gmail.com>
Fri, 12 Apr 2013 14:02:34 +0000 (16:02 +0200)
committerPepijn de Vos <pepijndevos@gmail.com>
Fri, 12 Apr 2013 14:02:34 +0000 (16:02 +0200)
server/irc/server.js

index 63902e7ab22e620dd4afe33a9c8760cc783c0017..540d32464d794984e4b0f458428ef9d7c015f992 100755 (executable)
@@ -68,10 +68,10 @@ function onListStart(event) {
 };
 
 function onListChannel(event) {
+    var buf;
     if (!this.busy_listing) {
-      onListStart.call(this, event);
+      onListStart.call(this);
     }
-    var buf;
     this.list_buffer.push({
         channel: event.channel,
         num_users: event.num_users,