Mercurial > pidgin
comparison 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 |
comparison
equal
deleted
inserted
replaced
| 1014:bc4f6a535bd9 | 1015:c3579d03a0c1 |
|---|---|
| 436 (*g->prpl->chat_invite)(g, id, message, name); | 436 (*g->prpl->chat_invite)(g, id, message, name); |
| 437 } | 437 } |
| 438 | 438 |
| 439 void serv_chat_leave(struct gaim_connection *g, int id) | 439 void serv_chat_leave(struct gaim_connection *g, int id) |
| 440 { | 440 { |
| 441 /* i think this is the only one this should be necessary for since this is the | |
| 442 * only thing that could possibly get called after the connection is closed */ | |
| 443 if (!g_slist_find(connections, g)) return; | |
| 444 | |
| 441 if (g->prpl && g->prpl->chat_leave) | 445 if (g->prpl && g->prpl->chat_leave) |
| 442 (*g->prpl->chat_leave)(g, id); | 446 (*g->prpl->chat_leave)(g, id); |
| 443 } | 447 } |
| 444 | 448 |
| 445 void serv_chat_whisper(struct gaim_connection *g, int id, char *who, char *message) | 449 void serv_chat_whisper(struct gaim_connection *g, int id, char *who, char *message) |
