Changeset 05bf2a0


Ignore:
Timestamp:
2010-10-02T04:51:19Z (14 years ago)
Author:
Wilmer van der Gaast <wilmer@…>
Branches:
master
Children:
62f53b50
Parents:
665c24f
Message:

Force the default/first channel to be a control channel, fixing one crash
bug and preventing a generally confusing and undesirable setup.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • irc_channel.c

    r665c24f r05bf2a0  
    192192        if( strcmp( value, "control" ) == 0 )
    193193                new = &control_channel_funcs;
    194         else if( strcmp( value, "chat" ) == 0 )
     194        else if( ic != ic->irc->default_channel && strcmp( value, "chat" ) == 0 )
    195195                new = &irc_channel_im_chat_funcs;
    196196        else
Note: See TracChangeset for help on using the changeset viewer.