--- a/src/irc.c +++ b/src/irc.c @@ -345,6 +345,7 @@ case 475: case 476: case 477: + case 486: /* MUST BE REGISTERED TO SEND PRIVATE MESSAGES */ case 482: case 901: /* notify or some crap */ message->channel = strtok (message->line, " ");