diff options
author | Wilmer van der Gaast <wilmer@gaast.net> | 2006-08-13 21:15:23 +0200 |
---|---|---|
committer | Wilmer van der Gaast <wilmer@gaast.net> | 2006-08-13 21:15:23 +0200 |
commit | d5ccd83c5235528df2481003502647b86b41fdc4 (patch) | |
tree | 815eee950afac579adda12b8b2022bda072fe6cd /root_commands.c | |
parent | 846cec61f2b94be60c7bae7f4d0de8952e2d45fa (diff) |
Extra comments in set.h and now properly using set_getbool() instead of
set_getint().
Diffstat (limited to 'root_commands.c')
-rw-r--r-- | root_commands.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/root_commands.c b/root_commands.c index 389266eb..13567e8a 100644 --- a/root_commands.c +++ b/root_commands.c @@ -143,7 +143,7 @@ static void cmd_identify( irc_t *irc, char **cmd ) case STORAGE_OK: irc_usermsg( irc, "Password accepted, settings and accounts loaded" ); irc_umode_set( irc, "+R", 1 ); - if( set_getint( &irc->set, "auto_connect" ) ) + if( set_getbool( &irc->set, "auto_connect" ) ) cmd_account( irc, account_on ); break; case STORAGE_OTHER_ERROR: |