aboutsummaryrefslogtreecommitdiffstats
path: root/root_commands.c
diff options
context:
space:
mode:
Diffstat (limited to 'root_commands.c')
-rw-r--r--root_commands.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/root_commands.c b/root_commands.c
index 9b492048..d47a8b1d 100644
--- a/root_commands.c
+++ b/root_commands.c
@@ -242,7 +242,9 @@ static void cmd_account( irc_t *irc, char **cmd )
irc_usermsg( irc, "Account successfully added" );
- otr_check_for_key(a);
+ if(otr_check_for_key(a)) {
+ irc_usermsg(irc, "otr: you will be notified when it completes");
+ }
}
else if( g_strcasecmp( cmd[1], "del" ) == 0 )
{