--- a/src/protocols/irc/msgs.c Tue Feb 22 10:16:16 2005 -0500
+++ b/src/protocols/irc/msgs.c Tue Feb 22 11:02:50 2005 -0500
@@ -167,7 +167,7 @@
gaim_debug(GAIM_DEBUG_WARNING, "irc", "Unexpected End of WHOIS for %s\n", args[1]);
@@ -179,18 +179,20 @@
- g_string_append_printf(info, _("<b>%s:</b> %s"), _("Nick"), args[1]);
+ tmp = g_markup_escape_text(args[1], -1); + g_string_append_printf(info, _("<b>%s:</b> %s"), _("Nick"), tmp); g_string_append_printf(info, "%s%s<br>",
irc->whois.ircop ? _(" <i>(ircop)</i>") : "",
irc->whois.identified ? _(" <i>(identified)</i>") : "");
- char *tmp = g_markup_escape_text(irc->whois.away, strlen(irc->whois.away));
+ tmp = g_markup_escape_text(irc->whois.away, strlen(irc->whois.away)); g_string_append_printf(info, _("<b>%s:</b> %s<br>"), _("Away"), tmp);
if (irc->whois.userhost) {
- char *tmp = g_markup_escape_text(irc->whois.name, strlen(irc->whois.name));
+ tmp = g_markup_escape_text(irc->whois.name, strlen(irc->whois.name)); g_string_append_printf(info, _("<b>%s:</b> %s<br>"), _("Username"), irc->whois.userhost);
g_string_append_printf(info, _("<b>%s:</b> %s<br>"), _("Realname"), tmp);
@@ -444,6 +446,7 @@
convo = gaim_find_conversation_with_account(args[1], irc->account);
@@ -456,7 +459,9 @@
if ((gc = gaim_account_get_connection(irc->account)) == NULL)
- gaim_notify_error(gc, NULL, _("No such nick or channel"), args[1]);
+ nick = g_markup_escape_text (args[1], -1); + gaim_notify_error(gc, NULL, _("No such nick or channel"), nick); if (irc->whois.nick && !gaim_utf8_strcasecmp(irc->whois.nick, args[1])) {