Changeset a067771 for irc_channel.c


Ignore:
Timestamp:
2010-05-09T22:08:30Z (9 years ago)
Author:
Wilmer van der Gaast <wilmer@…>
Branches:
master
Children:
4c17d19
Parents:
4e608d6
Message:

Per-account channels also exist now.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • irc_channel.c

    r4e608d6 ra067771  
    265265        if( ( icc->group = bee_group_by_name( ic->irc->b, ic->name + 1, FALSE ) ) )
    266266                icc->type = IRC_CC_TYPE_GROUP;
     267        else if( ( icc->account = account_get( ic->irc->b, ic->name + 1 ) ) )
     268                icc->type = IRC_CC_TYPE_ACCOUNT;
    267269       
    268270        bee_irc_channel_update( ic->irc, ic, NULL );
Note: See TracChangeset for help on using the changeset viewer.