From de3e100b7fa676bb628ead4cca2b8cee91fc3a84 Mon Sep 17 00:00:00 2001 From: Wilmer van der Gaast Date: Sat, 14 Jan 2006 21:31:59 +0100 Subject: Separated the IRC line splitting/parsing code (to use it for IPC too), and improved the splitting to deal with empty arguments. --- irc_commands.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'irc_commands.c') 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 { -- cgit v1.2.3