Mercurial > pidgin
diff src/server.c @ 1015:c3579d03a0c1
[gaim-migrate @ 1025]
damn i'm smooth. no more 100% cpu usage! yay! :)
committer: Tailor Script <tailor@pidgin.im>
author | Eric Warmenhoven <eric@warmenhoven.org> |
---|---|
date | Sat, 21 Oct 2000 09:56:16 +0000 |
parents | 966845e5ad29 |
children | 5bad25457843 |
line wrap: on
line diff
--- a/src/server.c Fri Oct 20 23:47:35 2000 +0000 +++ b/src/server.c Sat Oct 21 09:56:16 2000 +0000 @@ -438,6 +438,10 @@ void serv_chat_leave(struct gaim_connection *g, int id) { + /* i think this is the only one this should be necessary for since this is the + * only thing that could possibly get called after the connection is closed */ + if (!g_slist_find(connections, g)) return; + if (g->prpl && g->prpl->chat_leave) (*g->prpl->chat_leave)(g, id); }