var name formatting; removing console.logs
authorDarren <darren@darrenwhitlen.com>
Sun, 16 Mar 2014 22:35:18 +0000 (22:35 +0000)
committerDarren <darren@darrenwhitlen.com>
Sun, 16 Mar 2014 22:35:18 +0000 (22:35 +0000)
server/irc/connection.js

index d6d6f3b8e5eb5dbf5b8beda28905de5727187301..a290353ec3d1a94fc4c5e9281456a7c910dd96ae 100644 (file)
@@ -742,7 +742,7 @@ function parseIrcLine(buffer_line) {
         tags = [],
         tag,
         line = '',
-        msgObj;
+        msg_obj;
 
     // Decode server encoding
     line = iconv.decode(buffer_line, this.encoding);
@@ -769,9 +769,7 @@ function parseIrcLine(buffer_line) {
         }
     }
 
-    //console.log(msg);
-
-    msgObj = {
+    msg_obj = {
         tags:       tags,
         prefix:     msg[2],
         nick:       msg[3],
@@ -782,9 +780,8 @@ function parseIrcLine(buffer_line) {
     };
 
     if (msg[8]) {
-        msgObj.params.push(msg[8].trim());
+        msg_obj.params.push(msg[8].trim());
     }
 
-    console.log(msgObj);
-    this.irc_commands.dispatch(msgObj.command.toUpperCase(), msgObj);
+    this.irc_commands.dispatch(msg_obj.command.toUpperCase(), msg_obj);
 }