Changeset 06f9548


Ignore:
Timestamp:
2010-06-30T23:30:27Z (14 years ago)
Author:
Wilmer van der Gaast <wilmer@…>
Branches:
master
Children:
52a2521
Parents:
9052bc1
Message:

Disable the code added in the previous change during shutdown, since it's
pointless at that stage and may cause crashes.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • irc_channel.c

    r9052bc1 r06f9548  
    239239                ic->flags &= ~IRC_CHANNEL_JOINED;
    240240               
    241                 if( ic->flags & IRC_CHANNEL_TEMP )
     241                if( ic->irc->status & USTATUS_SHUTDOWN )
     242                {
     243                        /* Don't do anything fancy when we're shutting down anyway. */
     244                }
     245                else if( ic->flags & IRC_CHANNEL_TEMP )
     246                {
    242247                        irc_channel_free_soon( ic );
     248                }
    243249                else
    244250                {
Note: See TracChangeset for help on using the changeset viewer.