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 f55c4b5e..2f00eca8 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> @@ -274,6 +275,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 )  	{ @@ -1063,5 +1068,6 @@ 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 },	  	{ NULL }  };  | 
