Changes in root_commands.c [7adc657:3064ea4]
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
root_commands.c
r7adc657 r3064ea4 29 29 #include "bitlbee.h" 30 30 #include "help.h" 31 #include "otr.h" 31 32 32 33 #include <string.h> … … 241 242 242 243 irc_usermsg( irc, "Account successfully added" ); 244 245 if(otr_check_for_key(a)) { 246 irc_usermsg(irc, "otr: you will be notified when it completes"); 247 } 243 248 } 244 249 else if( g_strcasecmp( cmd[1], "del" ) == 0 ) … … 449 454 { 450 455 add_on_server = 0; 451 cmd ++; 456 cmd ++; /* So evil... :-D */ 452 457 } 453 458 … … 481 486 } 482 487 488 /* By making this optional, you can talk to people without having to 489 add them to your *real* (server-side) contact list. */ 483 490 if( add_on_server ) 484 491 a->ic->acc->prpl->add_buddy( a->ic, cmd[2], NULL ); 485 else 486 /* Yeah, officially this is a call-*back*... So if we just 487 called add_buddy, we'll wait for the IM server to respond 488 before we do this. */ 489 imcb_add_buddy( a->ic, cmd[2], NULL ); 492 493 /* add_buddy( a->ic, NULL, cmd[2], cmd[2] ); */ 490 494 491 495 irc_usermsg( irc, "Adding `%s' to your contact list", cmd[2] ); … … 992 996 { "qlist", 0, cmd_qlist, 0 }, 993 997 { "join_chat", 2, cmd_join_chat, 0 }, 998 { "otr", 1, cmd_otr, 0 }, 994 999 { NULL } 995 1000 };
Note: See TracChangeset
for help on using the changeset viewer.