Changeset 324c378 for irc_channel.c


Ignore:
Timestamp:
2010-07-13T23:14:41Z (14 years ago)
Author:
Wilmer van der Gaast <wilmer@…>
Branches:
master
Children:
3709301
Parents:
b1af3e8
Message:

Move control channel autoconfiguration to irc_cmd_join() instead so that it
only triggers on channels created by the user. (And not at identify time,
which was causing odd problems on my test setup.)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • irc_channel.c

    rb1af3e8 r324c378  
    549549        icc->type = IRC_CC_TYPE_DEFAULT;
    550550       
    551         if( bee_group_by_name( ic->irc->b, ic->name + 1, FALSE ) )
    552         {
    553                 set_setstr( &ic->set, "group", ic->name + 1 );
    554                 set_setstr( &ic->set, "fill_by", "group" );
    555         }
    556         else if( set_setstr( &ic->set, "protocol", ic->name + 1 ) )
    557         {
    558                 set_setstr( &ic->set, "fill_by", "protocol" );
    559         }
    560         else if( set_setstr( &ic->set, "account", ic->name + 1 ) )
    561         {
    562                 set_setstr( &ic->set, "fill_by", "account" );
    563         }
    564         else
    565         {
    566                 bee_irc_channel_update( ic->irc, ic, NULL );
    567         }
    568        
    569551        return TRUE;
    570552}
Note: See TracChangeset for help on using the changeset viewer.