Changeset 16834a5
- Timestamp:
- 2010-06-06T01:30:45Z (14 years ago)
- Branches:
- master
- Children:
- 92cb8c4
- Parents:
- 88eaf4b
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
doc/user-guide/commands.xml
r88eaf4b r16834a5 593 593 594 594 <bitlbee-setting name="handle_unknown" type="string" scope="global"> 595 <default> root</default>595 <default>add_channel</default> 596 596 <possible-values>root, add, add_private, add_channel, ignore</possible-values> 597 597 -
irc.c
r88eaf4b r16834a5 100 100 s = set_add( &b->set, "away_devoice", "true", NULL/*set_eval_away_devoice*/, irc ); 101 101 s = set_add( &b->set, "charset", "utf-8", set_eval_charset, irc ); 102 //s = set_add( &b->set, "control_channel", irc->channel, NULL/*set_eval_control_channel*/, irc );103 102 s = set_add( &b->set, "default_target", "root", NULL, irc ); 104 103 s = set_add( &b->set, "display_namechanges", "false", set_eval_bool, irc ); 105 104 s = set_add( &b->set, "display_timestamps", "true", set_eval_bool, irc ); 106 s = set_add( &b->set, "handle_unknown", " root", NULL, irc );105 s = set_add( &b->set, "handle_unknown", "add_channel", NULL, irc ); 107 106 s = set_add( &b->set, "lcnicks", "true", set_eval_bool, irc ); 108 107 s = set_add( &b->set, "ops", "both", NULL/*set_eval_ops*/, irc ); -
root_commands.c
r88eaf4b r16834a5 680 680 681 681 return strcmp( irc->mynick, new_nick ) == 0 ? new_nick : SET_INVALID; 682 }683 684 char *set_eval_control_channel( set_t *set, char *new_name )685 {686 irc_t *irc = set->data;687 688 if( strcmp( irc->channel, new_name ) != 0 )689 {690 char *cmd[] = { "set_rename", irc->channel, new_name, NULL };691 692 cmd_rename( irc, cmd );693 }694 695 return strcmp( irc->channel, new_name ) == 0 ? new_name : SET_INVALID;696 682 } 697 683 #endif
Note: See TracChangeset
for help on using the changeset viewer.