Mercurial > pidgin.yaz
changeset 8965:0c435a36b5bf
[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 <tailor@pidgin.im>
author | Luke Schierer <lschiere@pidgin.im> |
---|---|
date | Mon, 17 May 2004 19:39:29 +0000 |
parents | faf9a6e56aec |
children | cd1c9bbab491 |
files | src/protocols/irc/msgs.c |
diffstat | 1 files changed, 4 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- 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)