Changeset 1688

Show
Ignore:
Timestamp:
03/03/10 16:30:47 (6 months ago)
Author:
swalsh
Message:

(potentially) fix a rare bug caused by the channel destroy event firing in the wrong place

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • branches/oftc-ircservices-1.3/src/channel.c

    r1402 r1688  
    145145    assert(dlink_list_length(&chptr->members) == 0);   
    146146    ilog(L_DEBUG, "Destroying empty channel %s", chptr->chname); 
    147     execute_callback(on_channel_destroy_cb, chptr); 
    148147    destroy_channel(chptr); 
    149148  } 
     
    191190destroy_channel(struct Channel *chptr) 
    192191{ 
     192  execute_callback(on_channel_destroy_cb, chptr); 
    193193  /* free ban/exception/invex lists */ 
    194194  free_channel_list(&chptr->banlist);