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_operonly.c

    r613 r803  
    5252    struct channel_check_args *ccap = (struct channel_check_args *)data; 
    5353 
    54     if (chanmode_isset(ccap->chan, chanmode_operonly) && !OPER(ccap->cli)) { 
     54    if (chanmode_isset(ccap->chan, chanmode_operonly) && 
     55            !CLIENT_OPERATOR(ccap->cli)) { 
    5556        /* send them the error and return. */ 
    5657        sendto_one(ccap->cli, RPL_FMT(ccap->cli, ERR_NOPRIVILEGES)); 
Note: See TracChangeset for help on using the changeset viewer.