]> jfr.im git - solanum.git/commitdiff
STATS I and TESTMASK: Show some more auth{} flags.
authorJilles Tjoelker <redacted>
Tue, 1 Jan 2008 20:54:27 +0000 (21:54 +0100)
committerJilles Tjoelker <redacted>
Tue, 1 Jan 2008 20:54:27 +0000 (21:54 +0100)
flood_exempt (|), dnsbl_exempt ($), gline_exempt (_)
All these are only shown to opers.

src/hostmask.c

index f726c9e053f4a39fa02447bd7f501fa02348ce07..b55cbebbcbb5821a0b6dd933cf3aac9d32571233 100644 (file)
@@ -682,6 +682,12 @@ show_iline_prefix(struct Client *sptr, struct ConfItem *aconf, char *name)
                *prefix_ptr++ = '+';
        if(IsConfDoSpoofIp(aconf))
                *prefix_ptr++ = '=';
+       if(IsOper(sptr) && IsConfExemptFlood(aconf))
+               *prefix_ptr++ = '|';
+       if(IsOper(sptr) && IsConfExemptGline(aconf) && !IsConfExemptKline(aconf))
+               *prefix_ptr++ = '_';
+       if(IsOper(sptr) && IsConfExemptDNSBL(aconf) && !IsConfExemptKline(aconf))
+               *prefix_ptr++ = '$';
        if(IsOper(sptr) && IsConfExemptKline(aconf))
                *prefix_ptr++ = '^';
        if(IsOper(sptr) && IsConfExemptLimits(aconf))