# HG changeset patch # User Luke Schierer # Date 1084822769 0 # Node ID 0c435a36b5bfdba3f9d11681ada24b4f7f546cc0 # Parent faf9a6e56aecc38c6c499a6e22ba28101e316275 [gaim-migrate @ 9739] (15:35:43) nosnilmot: Paco-Paco: does this look ok to you? : http://www.nosnilmot.com/patches/gaim-0.78cvs-irc-escape-wallops.patch (15:36:51) Paco-Paco: nosnilmot: yes (15:36:57) Paco-Paco: nosnilmot: LSchiere2 is happy to apply it immediately committer: Tailor Script diff -r faf9a6e56aec -r 0c435a36b5bf src/protocols/irc/msgs.c --- a/src/protocols/irc/msgs.c Mon May 17 15:53:05 2004 +0000 +++ b/src/protocols/irc/msgs.c Mon May 17 19:39:29 2004 +0000 @@ -862,7 +862,7 @@ void irc_msg_wallops(struct irc_conn *irc, const char *name, const char *from, char **args) { GaimConnection *gc = gaim_account_get_connection(irc->account); - char *nick, *msg; + char *nick, *msg, *wallop; if (!args || !args[0] || !gc) return; @@ -870,8 +870,10 @@ nick = irc_mask_nick(from); msg = g_strdup_printf (_("Wallops from %s"), nick); g_free(nick); - gaim_notify_info(gc, NULL, msg, args[0]); + wallop = g_markup_escape_text(args[0], strlen(args[0])); + gaim_notify_info(gc, NULL, msg, wallop); g_free(msg); + g_free(wallop); } void irc_msg_ignore(struct irc_conn *irc, const char *name, const char *from, char **args)