Changeset fe4f28f


Ignore:
Timestamp:
2010-07-17T16:11:09Z (9 years ago)
Author:
Wilmer van der Gaast <wilmer@…>
Branches:
master
Children:
2bfe976
Parents:
5c18a76
Message:

Remove the user from default_channel if it has the auto_join setting
disabled.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • root_commands.c

    r5c18a76 rfe4f28f  
    164164                {
    165165                        irc_channel_auto_joins( irc, NULL );
     166                        if( !set_getbool( &irc->default_channel->set, "auto_join" ) )
     167                                irc_channel_del_user( irc->default_channel, irc->user,
     168                                                      IRC_CDU_PART, "auto_join disabled "
     169                                                      "for this channel." );
    166170                        if( set_getbool( &irc->b->set, "auto_connect" ) )
    167171                                irc->login_source_id = b_timeout_add( 200,
Note: See TracChangeset for help on using the changeset viewer.