--- a/src/protocols/irc/msgs.c Sat Apr 02 21:12:09 2005 -0500
+++ b/src/protocols/irc/msgs.c Sat Apr 02 21:40:25 2005 -0500
@@ -98,23 +98,28 @@
void irc_msg_badmode(struct irc_conn *irc, const char *name, const char *from, char **args)
GaimConnection *gc = gaim_account_get_connection(irc->account);
if (!args || !args[1] || !gc)
- gaim_notify_error(gc, NULL, _("Bad mode"), args[1]);
+ escaped = g_markup_escape_text(args[1], -1); + gaim_notify_error(gc, NULL, _("Bad mode"), escaped); void irc_msg_banned(struct irc_conn *irc, const char *name, const char *from, char **args)
GaimConnection *gc = gaim_account_get_connection(irc->account);
if (!args || !args[1] || !gc)
- buf = g_strdup_printf(_("You are banned from %s."), args[1]);
+ escaped = g_markup_escape_text(args[1], -1); + buf = g_strdup_printf(_("You are banned from %s."), escaped); gaim_notify_error(gc, _("Banned"), _("Banned"), buf);