mirror of
https://github.com/matrix-construct/construct
synced 2024-11-25 16:22:35 +01:00
STATS I and TESTMASK: Show some more auth{} flags.
flood_exempt (|), dnsbl_exempt ($), gline_exempt (_) All these are only shown to opers.
This commit is contained in:
parent
f56fdec2a0
commit
c4f13a6499
1 changed files with 6 additions and 0 deletions
|
@ -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))
|
||||
|
|
Loading…
Reference in a new issue