src/irc.c
changeset 23 1cd79bb84e9c
parent 22 b786b5f92a93
child 29 08ec6ddd6eea
--- a/src/irc.c
+++ b/src/irc.c
@@ -292,12 +292,12 @@
             case 4:
             case 5:
             case 250:
-            case 251:
-            case 252:
-            case 254:
-            case 255:
-            case 265:
-            case 266:
+            case 251:          /* NUMBER OF USERS */
+            case 252:          /* STAFF MEMBERS */
+            case 254:          /* CHANNELS */
+            case 255:          /* CLIENTS */
+            case 265:          /* LOCAL USERS */
+            case 266:          /* GLOBAL USERS */
                 /*
                  * prints as is in irc_login
                  */
@@ -336,7 +336,6 @@
             case 441:          /* THEY AREN'T ON THIS CHANNEL */
                 message->channel = strtok (message->line, " ");
                 message->line = strtok (NULL, "\r\n");
-                fprintf (message->stream, "PRIVMSG %s :%s\r\n", message->current_channel, message->line);
                 return command;
             case 433:          /* NICK ALREADY IN USE */
             case 451:          /* REGISTER FIRST */
@@ -344,7 +343,7 @@
             case 474:
             case 475:
             case 476:
-            case 477:
+            case 477:          /* HOW TO GET HELP */
             case 486:          /* MUST BE REGISTERED TO SEND PRIVATE MESSAGES */
             case 482:
             case 901:          /* notify or some crap */