Changeset f0cb961 for root_commands.c
- Timestamp:
- 2007-04-19T06:03:43Z (17 years ago)
- Branches:
- master
- Children:
- d323394c
- Parents:
- 33dc261
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
root_commands.c
r33dc261 rf0cb961 437 437 { 438 438 account_t *a; 439 int add_ for_real= 1;439 int add_on_server = 1; 440 440 441 441 if( g_strcasecmp( cmd[1], "-tmp" ) == 0 ) 442 442 { 443 add_ for_real= 0;443 add_on_server = 0; 444 444 cmd ++; /* So evil... :-D */ 445 445 } … … 476 476 /* By making this optional, you can talk to people without having to 477 477 add them to your *real* (server-side) contact list. */ 478 if( add_ for_real)478 if( add_on_server ) 479 479 a->ic->acc->prpl->add_buddy( a->ic, cmd[2], NULL ); 480 481 add_buddy( a->ic, NULL, cmd[2], cmd[2] );482 483 irc_usermsg( irc, " User `%s' added to your contact list as `%s'", cmd[2], user_findhandle( a->ic, cmd[2] )->nick);480 481 /* add_buddy( a->ic, NULL, cmd[2], cmd[2] ); */ 482 483 irc_usermsg( irc, "Adding `%s' to your contact list", cmd[2] ); 484 484 } 485 485
Note: See TracChangeset
for help on using the changeset viewer.