Ignore:
Timestamp:
05/31/07 15:15:23 (5 years ago)
Author:
wd
Message:

Many more changes:

  • Moved the 'core' addon code into various places in the main ircd module.
  • Split channel/user modes out of channel.c/client.c and into chanmode.c/usermode.c respectively.
  • Added init/teardown routines for channel/usermodes.
  • Changed the INVIS and OPER macros to have longer(:/) and more descriptive names.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ithildin/modules/ircd/addons/cmode_private.c

    r787 r803  
    5555        return (void *)HOOK_COND_OK; 
    5656    else if (chanmode_isset(ccap->chan, chanmode_private)) { 
    57         if (OPER(ccap->cli) && BPRIV(ccap->cli, core.privs.see_hidden_chan)) 
     57        if (CLIENT_OPERATOR(ccap->cli) && 
     58                BPRIV(ccap->cli, ircd.privileges.priv_shc)) 
    5859            return (void *)HOOK_COND_ALWAYSOK; /* okay, but sketchy.  */ 
    5960        else 
Note: See TracChangeset for help on using the changeset viewer.