fixed last commit
authorpk910 <philipp@zoelle1.de>
Fri, 12 Aug 2011 01:19:48 +0000 (03:19 +0200)
committerpk910 <philipp@zoelle1.de>
Fri, 12 Aug 2011 01:19:48 +0000 (03:19 +0200)
IRCParser.c

index ac2cb60a2fe06f29736914a76d9a0302142d6775..83e9f603ac80041480e83d79fab51201a9d611c9 100644 (file)
@@ -254,7 +254,7 @@ static IRC_CMD(raw_privmsg) {
                         text[strlen(text)-1] = '\0';
                 } else if(strlen(cmd) && cmd[strlen(cmd)-1] == '\001')
                     cmd[strlen(cmd)-1] = '\0';
-                event_privctcp(user, chan, cmd, text);
+                event_privctcp(user, target, cmd, text);
             } else
                 event_privmsg(user, target, argv[1]);
         }