Mercurial > pidgin
diff libpurple/protocols/irc/irc.h @ 27842:f9cf1e14838b
irc: Handle a buddy appearing in multiple groups properly.
Handle multiple PurpleBuddy's corresponding to the same buddy with a reference
count in struct irc_buddy and fix a string corruption that would be caused
by using g_hash_table_insert instead of replace (the wrong string is freed).
author | Paul Aurich <paul@darkrain42.org> |
---|---|
date | Thu, 06 Aug 2009 04:59:12 +0000 |
parents | 24aa97dd601f |
children | e023b0378887 |
line wrap: on
line diff
--- a/libpurple/protocols/irc/irc.h Thu Aug 06 03:23:05 2009 +0000 +++ b/libpurple/protocols/irc/irc.h Thu Aug 06 04:59:12 2009 +0000 @@ -97,6 +97,7 @@ char *name; gboolean online; gboolean flag; + int ref; }; typedef int (*IRCCmdCallback) (struct irc_conn *irc, const char *cmd, const char *target, const char **args);