[gaim-migrate @ 7517]

Thu, 25 Sep 2003 15:03:36 +0000

author
Ethan Blanton <elb@pidgin.im>
date
Thu, 25 Sep 2003 15:03:36 +0000
changeset 6970
3a1c6fb673f7
parent 6969
64caf5a74e41
child 6971
f6dd7cdcec2c

[gaim-migrate @ 7517]
This converts the sender nickname of IRC messages properly to UTF-8.
Thanks to qleap for pointing this fix out.

src/protocols/irc/parse.c file | annotate | diff | comparison | revisions
--- a/src/protocols/irc/parse.c	Thu Sep 25 04:01:21 2003 +0000
+++ b/src/protocols/irc/parse.c	Thu Sep 25 15:03:36 2003 +0000
@@ -446,7 +446,9 @@
 			break;
 		}
 	}
-	(msgent->cb)(irc, msgent->name, from, args);
+	tmp = irc_recv_convert(irc, from);
+	(msgent->cb)(irc, msgent->name, tmp, args);
+	g_free(tmp);
 	for (i = 0; i < strlen(msgent->format); i++) {
 		g_free(args[i]);
 	}

mercurial