aboutsummaryrefslogtreecommitdiffstats
path: root/protocols/nogaim.c
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/nogaim.c')
-rw-r--r--protocols/nogaim.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/protocols/nogaim.c b/protocols/nogaim.c
index f88ec693..0998291b 100644
--- a/protocols/nogaim.c
+++ b/protocols/nogaim.c
@@ -286,6 +286,9 @@ void imcb_connected( struct im_connection *ic )
exponential backoff timer. */
ic->acc->auto_reconnect_delay = 0;
+ if( ic->bee->ui->imc_connected )
+ ic->bee->ui->imc_connected( ic );
+
/*
for( c = irc->chatrooms; c; c = c->next )
{
@@ -328,6 +331,9 @@ void imc_logout( struct im_connection *ic, int allow_reconnect )
else
ic->flags |= OPT_LOGGING_OUT;
+ if( ic->bee->ui->imc_disconnected )
+ ic->bee->ui->imc_disconnected( ic );
+
imcb_log( ic, "Signing off.." );
b_event_remove( ic->keepalive );