diff options
author | Wilmer van der Gaast <wilmer@gaast.net> | 2006-01-14 21:31:59 +0100 |
---|---|---|
committer | Wilmer van der Gaast <wilmer@gaast.net> | 2006-01-14 21:31:59 +0100 |
commit | de3e100b7fa676bb628ead4cca2b8cee91fc3a84 (patch) | |
tree | 71320fee332017aeaa4cd19638e08c655cf844ca /irc_commands.c | |
parent | b23c5c758097e7c7e9e0141ba9467177c0c32114 (diff) |
Separated the IRC line splitting/parsing code (to use it for IPC too), and improved the splitting to deal with empty arguments.
Diffstat (limited to 'irc_commands.c')
-rw-r--r-- | irc_commands.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/irc_commands.c b/irc_commands.c index 81b3d60b..a7cb9963 100644 --- a/irc_commands.c +++ b/irc_commands.c @@ -31,7 +31,7 @@ static int irc_cmd_pass( irc_t *irc, char **cmd ) if( global.conf->auth_pass && strcmp( cmd[1], global.conf->auth_pass ) == 0 ) { irc->status = USTATUS_AUTHORIZED; - irc_check_login(); + irc_check_login( irc ); } else { |