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