diff -r 513ee34f34e5 -r 7598efc97b07 libpurple/protocols/irc/cmds.c --- a/libpurple/protocols/irc/cmds.c Tue Jan 08 10:16:26 2008 +0000 +++ b/libpurple/protocols/irc/cmds.c Tue Jan 08 17:16:57 2008 +0000 @@ -368,10 +368,10 @@ end = cur + strlen(cur); msg = g_strndup(cur, end - cur); - if(!strcmp(cmd, "msg")) + if(!strcmp(cmd, "notice")) + buf = irc_format(irc, "vt:", "NOTICE", args[0], msg); + else buf = irc_format(irc, "vt:", "PRIVMSG", args[0], msg); - else /* seding a notice if we get here */ - buf = irc_format(irc, "vt:", "NOTICE", args[0], msg); irc_send(irc, buf); g_free(msg);