Changeset 0a6e5d1
- Timestamp:
- 2010-06-07T15:51:31Z (14 years ago)
- Branches:
- master
- Children:
- a4d920b
- Parents:
- 70f69ecc
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
irc.c
r70f69ecc r0a6e5d1 116 116 s = set_add( &b->set, "private", "true", set_eval_bool, irc ); 117 117 s = set_add( &b->set, "query_order", "lifo", NULL, irc ); 118 s = set_add( &b->set, "root_nick", ROOT_NICK, NULL/*set_eval_root_nick*/, irc );118 s = set_add( &b->set, "root_nick", ROOT_NICK, set_eval_root_nick, irc ); 119 119 s = set_add( &b->set, "simulate_netsplit", "true", set_eval_bool, irc ); 120 120 s = set_add( &b->set, "timezone", "local", set_eval_timezone, irc ); -
root_commands.c
r70f69ecc r0a6e5d1 719 719 } 720 720 721 #if 0722 721 char *set_eval_root_nick( set_t *set, char *new_nick ) 723 722 { 724 723 irc_t *irc = set->data; 725 724 726 if( strcmp( irc-> mynick, new_nick ) != 0 )727 { 728 char *cmd[] = { "set_rename", irc-> mynick, new_nick, NULL };725 if( strcmp( irc->root->nick, new_nick ) != 0 ) 726 { 727 char *cmd[] = { "set_rename", irc->root->nick, new_nick, NULL }; 729 728 730 729 cmd_rename( irc, cmd ); 731 730 } 732 731 733 return strcmp( irc->mynick, new_nick ) == 0 ? new_nick : SET_INVALID; 734 } 735 #endif 732 return strcmp( irc->root->nick, new_nick ) == 0 ? new_nick : SET_INVALID; 733 } 736 734 737 735 static void cmd_block( irc_t *irc, char **cmd )
Note: See TracChangeset
for help on using the changeset viewer.