Changeset 734 for branches/ithildin-1.1


Ignore:
Timestamp:
05/17/06 22:00:28 (6 years ago)
Author:
wd
Message:

Allow [UN]SGLINE from anywhere.

File:
1 edited

Legend:

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

    r731 r734  
    5555    char *info = NULL; 
    5656 
    57     if (!SERVER_MASTER(srv)) { 
     57    /* XXX: This is a hack to allow sglinebursts to be sent from non-master 
     58     * servers.  I guess we should detect the bursting condition and only 
     59     * accept these at that time, but that's not we do it. :) */ 
     60    if (!SERVER_MASTER(srv) && strcasecmp(argv[0], "SGLINE") && 
     61            strcasecmp(argv[0], "UNSGLINE")) { 
    5862        sendto_serv_butone(NULL, NULL, ircd.me, NULL, "GLOBOPS", 
    5963                ":Non-master server %s trying to %s", srv->name, argv[0]); 
Note: See TracChangeset for help on using the changeset viewer.