aboutsummaryrefslogtreecommitdiffstats
path: root/root_commands.c
diff options
context:
space:
mode:
Diffstat (limited to 'root_commands.c')
-rw-r--r--root_commands.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/root_commands.c b/root_commands.c
index d8611347..225912b7 100644
--- a/root_commands.c
+++ b/root_commands.c
@@ -141,8 +141,9 @@ static void cmd_identify( irc_t *irc, char **cmd )
irc_usermsg( irc, "Password accepted" );
irc_umode_set( irc, "+R", 1 );
break;
+ case STORAGE_OTHER_ERROR:
default:
- irc_usermsg( irc, "Something very weird happened" );
+ irc_usermsg( irc, "Unknown error while loading configuration" );
break;
}
}
@@ -200,7 +201,7 @@ static void cmd_account( irc_t *irc, char **cmd )
{
account_t *a;
- if( global.conf->authmode == AUTHMODE_REGISTERED && ! irc->status & USTATUS_IDENTIFIED )
+ if( global.conf->authmode == AUTHMODE_REGISTERED && !( irc->status & USTATUS_IDENTIFIED ) )
{
irc_usermsg( irc, "This server only accepts registered users" );
return;