aboutsummaryrefslogtreecommitdiffstats
path: root/root_commands.c
diff options
context:
space:
mode:
authorWilmer van der Gaast <wilmer@gaast.net>2006-06-21 00:14:46 +0200
committerWilmer van der Gaast <wilmer@gaast.net>2006-06-21 00:14:46 +0200
commit2b14eef99faf7e113cc6c17d68bf6402f87ddd66 (patch)
tree7cbd809b8e1c6c2a3949b4db39c55d8862826715 /root_commands.c
parent9b46b64b83314a177a7ca3f9f990ff8c78282a5a (diff)
Implemented handling of autoconnect attribute.
Diffstat (limited to 'root_commands.c')
-rw-r--r--root_commands.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/root_commands.c b/root_commands.c
index 225912b7..d263bb84 100644
--- a/root_commands.c
+++ b/root_commands.c
@@ -306,7 +306,7 @@ static void cmd_account( irc_t *irc, char **cmd )
irc_usermsg( irc, "Trying to get all accounts connected..." );
for( a = irc->accounts; a; a = a->next )
- if( !a->gc )
+ if( !a->gc && a->auto_connect )
account_on( irc, a );
}
else