Mercurial > pidgin
comparison src/server.c @ 3620:8856bb4b284e
[gaim-migrate @ 3734]
buf gix.
committer: Tailor Script <tailor@pidgin.im>
| author | Sean Egan <seanegan@gmail.com> |
|---|---|
| date | Wed, 09 Oct 2002 16:31:33 +0000 |
| parents | 851f421a0f8e |
| children | 03ba413ca20b |
comparison
equal
deleted
inserted
replaced
| 3619:a19850d6e718 | 3620:8856bb4b284e |
|---|---|
| 126 if (prpl->plug) { /* This is a plugin */ | 126 if (prpl->plug) { /* This is a plugin */ |
| 127 prpl_accounts[prpl->protocol]--; | 127 prpl_accounts[prpl->protocol]--; |
| 128 debug_printf("Prpl %s is now being used by %d accounts\n", prpl->name, prpl_accounts[prpl->protocol]); | 128 debug_printf("Prpl %s is now being used by %d accounts\n", prpl->name, prpl_accounts[prpl->protocol]); |
| 129 if (prpl_accounts[prpl->protocol] == 0) { /* We don't need this protocol anymore */ | 129 if (prpl_accounts[prpl->protocol] == 0) { /* We don't need this protocol anymore */ |
| 130 debug_printf("Throwing out prpl %s\n", prpl->name); | 130 debug_printf("Throwing out prpl %s\n", prpl->name); |
| 131 unload_protocol(prpl); | |
| 132 g_timeout_add(0,delayed_unload, prpl->plug->handle); | 131 g_timeout_add(0,delayed_unload, prpl->plug->handle); |
| 133 prpl->plug->handle = NULL; | 132 prpl->plug->handle = NULL; |
| 134 } | 133 } |
| 135 } | 134 } |
| 136 #endif | 135 #endif |
