diff options
Diffstat (limited to 'root_commands.c')
-rw-r--r-- | root_commands.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/root_commands.c b/root_commands.c index 41b98a17..b46b076d 100644 --- a/root_commands.c +++ b/root_commands.c @@ -120,10 +120,14 @@ static void cmd_identify( irc_t *irc, char **cmd ) { load = FALSE; password = cmd[2]; + if( password == NULL ) + irc->status |= OPER_HACK_IDENTIFY_NOLOAD; } else if( strncmp( cmd[1], "-force", 6 ) == 0 ) { password = cmd[2]; + if( password == NULL ) + irc->status |= OPER_HACK_IDENTIFY_FORCE; } else if( irc->b->accounts != NULL ) { |