aboutsummaryrefslogtreecommitdiffstats
path: root/protocols
diff options
context:
space:
mode:
Diffstat (limited to 'protocols')
-rw-r--r--protocols/nogaim.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/protocols/nogaim.c b/protocols/nogaim.c
index 54965b84..f0008385 100644
--- a/protocols/nogaim.c
+++ b/protocols/nogaim.c
@@ -310,7 +310,8 @@ void signoff( struct gaim_connection *gc )
{
/* Uhm... This is very sick. */
}
- else if( !gc->wants_to_die && set_getint( &irc->set, "auto_reconnect" ) )
+ else if( !gc->wants_to_die && set_getbool( &irc->set, "auto_reconnect" ) &&
+ set_getbool( &a->set, "auto_reconnect" ) )
{
int delay = set_getint( &irc->set, "auto_reconnect_delay" );