diff options
author | marcus <marcus@FreeBSD.org> | 2003-08-13 00:32:34 +0000 |
---|---|---|
committer | marcus <marcus@FreeBSD.org> | 2003-08-13 00:32:34 +0000 |
commit | 2234b2d2e507c986714f635572a2d819ce6d9324 (patch) | |
tree | 0fdbf51cb1c5faaa8ba0acc4819c670f515643cb /net/gaim/files | |
parent | ac10e7a656af0d6ece634cb54346f78bc23f4f3a (diff) | |
download | FreeBSD-ports-2234b2d2e507c986714f635572a2d819ce6d9324.zip FreeBSD-ports-2234b2d2e507c986714f635572a2d819ce6d9324.tar.gz |
Fix a bug where certain IRC users will not be removed from the buddy list
when they part/are kicked off a channel.
PR: 55489
Submitted by: Alexander Nedotsukov <sasha@ortech.co.jp>
Diffstat (limited to 'net/gaim/files')
-rw-r--r-- | net/gaim/files/patch-src::protocols::irc::irc.c | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/net/gaim/files/patch-src::protocols::irc::irc.c b/net/gaim/files/patch-src::protocols::irc::irc.c new file mode 100644 index 0000000..0c97298 --- /dev/null +++ b/net/gaim/files/patch-src::protocols::irc::irc.c @@ -0,0 +1,24 @@ +--- src/protocols/irc/irc.c.orig Thu Jul 17 22:55:23 2003 ++++ src/protocols/irc/irc.c Wed Aug 13 08:30:08 2003 +@@ -1153,7 +1153,9 @@ + if (*who == '+') + who++; + if (!gaim_utf8_strcasecmp(who, nick)) { +- gaim_chat_remove_user(chat, who, reason); ++ char *tmp = g_strdup(r->data); ++ gaim_chat_remove_user(chat, tmp, reason); ++ g_free(tmp); + break; + } + r = r->next; +@@ -1793,7 +1795,9 @@ + if (*who == '+') + who++; + if (!gaim_utf8_strcasecmp(who, nick)) { +- gaim_chat_remove_user(chat, who, reason); ++ char *tmp = g_strdup(r->data); ++ gaim_chat_remove_user(chat, tmp, reason); ++ g_free(tmp); + break; + } + r = r->next; |