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/commands/trace.c

    r801 r803  
    100100    /* non-operator traces must specify an exact client.  other traces might do 
    101101     * this too.  if you remember we found cp up above. ;) */ 
    102     if (!OPER(cli) || cp != NULL) { 
     102    if (!CLIENT_OPERATOR(cli) || cp != NULL) { 
    103103        if (cp != NULL) { 
    104104            /* found a client.  Send the info */ 
    105             if (OPER(cp)) 
     105            if (CLIENT_OPERATOR(cp)) 
    106106                sendto_one(cli, RPL_FMT(cli, RPL_TRACEOPERATOR), 
    107107                        (cp->conn != NULL ? cp->conn->cls->name : "*"), 
     
    133133    LIST_FOREACH(connp, ircd.connections.clients, lp) { 
    134134        cp = connp->cli; 
    135         if (OPER(cp)) 
     135        if (CLIENT_OPERATOR(cp)) 
    136136            sendto_one(cli, RPL_FMT(cli, RPL_TRACEOPERATOR), connp->cls->name, 
    137137                    cli->nick, me.now - connp->last); 
Note: See TracChangeset for help on using the changeset viewer.