From bedad20a945ef60dbc46e44e5fb26e3b7047490a Mon Sep 17 00:00:00 2001 From: Wilmer van der Gaast Date: Wed, 24 Nov 2010 22:32:12 +0000 Subject: Some polishing/documentation for the "account add" without password hack. --- root_commands.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'root_commands.c') diff --git a/root_commands.c b/root_commands.c index 01313b1c..207f9678 100644 --- a/root_commands.c +++ b/root_commands.c @@ -426,10 +426,8 @@ static void cmd_account( irc_t *irc, char **cmd ) set_setstr( &a->set, "server", cmd[5] ); } - irc_usermsg( irc, "Account successfully added" ); - - if( cmd[4] == NULL ) - irc_usermsg( irc, "Now, use /OPER to enter your password for this account" ); + irc_usermsg( irc, "Account successfully added%s", cmd[4] ? "" : + ", now use /OPER to enter the password" ); return; } -- cgit v1.2.3