Mercurial > pidgin
diff src/protocols/irc/irc.c @ 5402:f3cf3bff72f0
[gaim-migrate @ 5778]
Updated oscar's "could not add buddy for an unknown reason" message
to suggest that the reason is because you have too many buddies.
Removed a few unneeded memory allocations in irc.c. They were
unneeded, right?
Fixed up napster chat stuff. It's much simpler now.
committer: Tailor Script <tailor@pidgin.im>
author | Mark Doliner <mark@kingant.net> |
---|---|
date | Fri, 16 May 2003 22:33:13 +0000 |
parents | ee2b7e4de04e |
children | ad445074d239 |
line wrap: on
line diff
--- a/src/protocols/irc/irc.c Fri May 16 20:27:39 2003 +0000 +++ b/src/protocols/irc/irc.c Fri May 16 22:33:13 2003 +0000 @@ -1156,9 +1156,7 @@ if (*who == '+') who++; if (!gaim_utf8_strcasecmp(who, nick)) { - char *tmp = g_strdup(r->data); - gaim_chat_remove_user(chat, tmp, reason); - g_free(tmp); + gaim_chat_remove_user(chat, who, reason); break; } r = r->next; @@ -1792,9 +1790,7 @@ if (*who == '+') who++; if (!gaim_utf8_strcasecmp(who, nick)) { - char *tmp = g_strdup(r->data); - gaim_chat_remove_user(chat, tmp, reason); - g_free(tmp); + gaim_chat_remove_user(chat, who, reason); break; } r = r->next;