# HG changeset patch # User Ethan Blanton # Date 1199812617 0 # Node ID b526b6c679d91b579a61882dc1525a18eef628f3 # Parent 4a204ebed41c5458d65b1b80613c531074c5cfc2 Fix notice on /me diff -r 4a204ebed41c -r b526b6c679d9 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);