Ignore:
Timestamp:
06/01/07 11:09:07 (5 years ago)
Author:
wd
Message:

Wow, a fully building ircd mode (so far). Some changes:

  • Updated LOTS of copyright notices.
  • Completed the split of channel and user modes
  • That core 'addon' is completely gone
  • Using hard/soft/post dependencies in what seems to me to be a good way.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ithildin/modules/ircd/commands/acl.c

    r804 r806  
    22 * acl.c: the ACL command 
    33 *  
    4  * Copyright 2002 the Ithildin Project. 
     4 * Copyright 2002-2007 the Ithildin Project. 
    55 * See the COPYING file for more information on licensing and use. 
    66 */ 
     
    7272        act = ACMD_ADD; 
    7373        type = acl_kline_type; 
    74         stage = ACL_STAGE_REGISTER; 
     74        stage = ACL_STAGE_REGISTERED; 
    7575        acc = ACL_DENY; 
    7676        strlcpy(mask, argv[oarg++], USERLEN + HOSTLEN + 2); 
     
    8787        act = ACMD_DEL; 
    8888        type = acl_kline_type; 
    89         stage = ACL_STAGE_REGISTER; 
     89        stage = ACL_STAGE_REGISTERED; 
    9090        acc = ACL_DENY; 
    9191        strlcpy(mask, argv[oarg++], USERLEN + HOSTLEN + 2); 
     
    100100        act = ACMD_ADD; 
    101101        type = acl_zline_type; 
    102         stage = ACL_STAGE_CONNECT; 
     102        stage = ACL_STAGE_CONNECTED; 
    103103        acc = ACL_DENY; 
    104104        strlcpy(mask, argv[oarg++], USERLEN + HOSTLEN + 2); 
     
    115115        act = ACMD_DEL; 
    116116        type = acl_zline_type; 
    117         stage = ACL_STAGE_CONNECT; 
     117        stage = ACL_STAGE_CONNECTED; 
    118118        acc = ACL_DENY; 
    119119        strlcpy(mask, argv[oarg++], USERLEN + HOSTLEN + 2); 
     
    144144                if (argc > oarg) { 
    145145                    stage = str_conv_int(argv[oarg], 0); 
    146                     if (stage < ACL_STAGE_CONNECT || stage > 
    147                             ACL_STAGE_REGISTER) { 
     146                    if (stage < ACL_STAGE_CONNECTED || stage > 
     147                            ACL_STAGE_REGISTERED) { 
    148148                        sendto_one(cli, "NOTICE", 
    149149                                ":Invalid stage %s", argv[oarg]); 
Note: See TracChangeset for help on using the changeset viewer.