diff -r 1568343b965c -r 52c00ca73f6f libpurple/protocols/irc/cmds.c --- a/libpurple/protocols/irc/cmds.c Sun Dec 30 13:56:01 2007 +0000 +++ b/libpurple/protocols/irc/cmds.c Sun Dec 30 18:46:56 2007 +0000 @@ -367,7 +367,12 @@ if (!end) end = cur + strlen(cur); msg = g_strndup(cur, end - cur); - buf = irc_format(irc, "vt:", "PRIVMSG", args[0], msg); + + if(!strcmp(cmd, "msg")) + 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); g_free(buf);