diff options
Diffstat (limited to 'root_commands.c')
-rw-r--r-- | root_commands.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/root_commands.c b/root_commands.c index d90531eb..37dcf203 100644 --- a/root_commands.c +++ b/root_commands.c @@ -28,6 +28,7 @@ #include "crypting.h" #include "bitlbee.h" #include "help.h" +#include "otr.h" #include <string.h> @@ -406,6 +407,10 @@ static void cmd_account( irc_t *irc, char **cmd ) } irc_usermsg( irc, "Account successfully added" ); + + 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 ) { @@ -1206,6 +1211,7 @@ const command_t commands[] = { { "nick", 1, cmd_nick, 0 }, { "qlist", 0, cmd_qlist, 0 }, { "join_chat", 2, cmd_join_chat, 0 }, + { "otr", 1, cmd_otr, 0 }, { "chat", 1, cmd_chat, 0 }, { NULL } }; |