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 15e6e72a..5ce5060a 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 "chat.h"  #include <string.h> @@ -413,6 +414,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 )  	{ @@ -1147,6 +1152,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 }  }; | 
