Changeset cf1a979


Ignore:
Timestamp:
2010-06-05T01:07:04Z (14 years ago)
Author:
Wilmer van der Gaast <wilmer@…>
Branches:
master
Children:
f5d87ea
Parents:
c133d4b8
Message:

Bug fixes, control channel behaviour is mostly okay again.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • irc_channel.c

    rc133d4b8 rcf1a979  
    311311                set_setstr( &ic->set, "fill_by", "account" );
    312312        }
     313        else
     314        {
     315                bee_irc_channel_update( ic->irc, ic, NULL );
     316        }
    313317       
    314318        return TRUE;
     
    325329       
    326330        icc->account = acc;
    327         bee_irc_channel_update( ic->irc, ic, NULL );
     331        if( icc->type == IRC_CC_TYPE_ACCOUNT )
     332                bee_irc_channel_update( ic->irc, ic, NULL );
    328333        return g_strdup_printf( "%s(%s)", acc->prpl->name, acc->user );
    329334}
     
    345350                return SET_INVALID;
    346351       
     352        bee_irc_channel_update( ic->irc, ic, NULL );
    347353        return value;
    348354}
     
    354360       
    355361        icc->group = bee_group_by_name( ic->irc->b, value, TRUE );
    356         bee_irc_channel_update( ic->irc, ic, NULL );
     362        if( icc->type == IRC_CC_TYPE_GROUP )
     363                bee_irc_channel_update( ic->irc, ic, NULL );
    357364        return g_strdup( icc->group->name );
    358365}
Note: See TracChangeset for help on using the changeset viewer.