Mercurial > pidgin
diff src/protocols/irc/parse.c @ 6970:91df6a6e6567
[gaim-migrate @ 7517]
This converts the sender nickname of IRC messages properly to UTF-8.
Thanks to qleap for pointing this fix out.
committer: Tailor Script <tailor@pidgin.im>
author | Ethan Blanton <elb@pidgin.im> |
---|---|
date | Thu, 25 Sep 2003 15:03:36 +0000 |
parents | 47e49e3c00f4 |
children | ea2d07ad05a9 |
line wrap: on
line diff
--- 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]); }