View Issue Details

IDProjectCategoryView StatusLast Update
0003469unrealmodule apipublic2009-07-24 01:06
Reporteraegis Assigned To 
PrioritynormalSeverityfeatureReproducibilityN/A
Status closedResolutionopen 
PlatformN/AOSN/AOS VersionN/A
Product Version4.0-devel 
Summary0003469: Elimination of the /GLINE command via an improved /KLINE
Description/KLINE [time] <hostmask> [location] :<reason>

Here, we see the [time] value has been moved to the left, and we've added the new argument, [location].

[time] d (days) h (hours) m (minutes) s (seconds)
        suggestion: require this order (eg: 1s1d1m should beinvalid)

<hostmask> *@hostmask or hostmask, nickname, or username@hostmask

[location] name.server.com (kline the target on this server)
        *.server.com (klines target on matching servers)
        * (klines target globally, essentially a gline)

Additional Informationan ALIAS could be made easily for the /GINE command:
(NOTE: my regexp is rusty :P, forgive me for any mistake)

Unreal 3.2.x
============
alias gline {
    # expecting a time value
    format "^.+?{s,m,h,d} " {
        command kline;
        type real;
        parameters "%1 %2 * :%3-";
    }
    # else...
    format "^[^.+?{s,m,h,d} ]" {
        command kline;
        type real;
        parameters "%1 * :%2-";
    };
    type command;
};
     
Unreal 4.x (basing this on InspIRCd, my syntax is possibly way off)
==========
alias {
    text "gline";
    # expecting a time value
    format "^.+?{s,m,h,d} "
    replace "KLINE $1 $2 * :$3-"
    operonly yes;
 };
alias {
    text "gline";
    # else...
    format "^[^.+?{s,m,h,d} ]"
    replace "KLINE $1 * :$3-"
    operonly yes;
{;
3rd party modules

Relationships

child of 0003417 closed TODO list for Unreal4.0 

Activities

There are no notes attached to this issue.

Issue History

Date Modified Username Field Change
2007-07-20 14:38 aegis New Issue
2007-07-20 14:41 stskeeps Status new => acknowledged
2007-07-20 14:41 stskeeps Relationship added child of 0003417
2007-07-23 09:33 stskeeps Status acknowledged => confirmed
2009-07-24 01:06 Stealth Status confirmed => closed
2017-01-06 15:48 syzop Category module => module api