Changeset 733 for branches/ithildin-1.1


Ignore:
Timestamp:
05/16/06 00:05:16 (6 years ago)
Author:
wd
Message:

SAMODE was causing crashes due to a bad condition check here. We should
always accept modes sourced from both our clients and ourself. :)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/ithildin-1.1/modules/ircd/commands/mode.c

    r716 r733  
    319319     */ 
    320320 
    321     if ((cli != NULL && !MYCLIENT(cli)) || srv) { 
     321    if ((cli != NULL && !MYCLIENT(cli)) || (srv != NULL && srv != ircd.me)) { 
    322322        /* We need the uplink for either the server or client in order to 
    323323         * verify flags. */ 
     
    330330            log_debug("server %s has no support TS, setting TS for %s to 0!", 
    331331                    sp->name, chan->name); 
    332 #if 0 
    333332            ts = 0; 
    334 #endif 
    335333        } else { 
    336334            if (ts > chan->created) 
Note: See TracChangeset for help on using the changeset viewer.