diff options
Diffstat (limited to 'protocols/nogaim.c')
| -rw-r--r-- | protocols/nogaim.c | 5 | 
1 files changed, 5 insertions, 0 deletions
| diff --git a/protocols/nogaim.c b/protocols/nogaim.c index 47e2bda6..ec87ccd5 100644 --- a/protocols/nogaim.c +++ b/protocols/nogaim.c @@ -279,6 +279,11 @@ void signoff( struct gaim_connection *gc )  	user_t *t, *u = irc->users;  	account_t *a; +	/* Nested calls might happen sometimes, this is probably the best +	   place to catch them. */ +	if( gc->flags & OPT_LOGGING_OUT ) +		return; +	  	serv_got_crap( gc, "Signing off.." );  	b_event_remove( gc->keepalive ); | 
