Changeset 16834a5 for root_commands.c


Ignore:
Timestamp:
2010-06-06T01:30:45Z (9 years ago)
Author:
Wilmer van der Gaast <wilmer@…>
Branches:
master
Children:
92cb8c4
Parents:
88eaf4b
Message:

Set handle_unknown to add_channel by default.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • root_commands.c

    r88eaf4b r16834a5  
    680680       
    681681        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;
    696682}
    697683#endif
Note: See TracChangeset for help on using the changeset viewer.