mirror of
https://github.com/matrix-construct/construct
synced 2024-09-08 17:55:47 +02:00
STATS I: Show spoofed auth{} blocks and ^<> flags to remote opers also.
This commit is contained in:
parent
997613d2f3
commit
a63a1eab74
1 changed files with 4 additions and 4 deletions
|
@ -682,11 +682,11 @@ show_iline_prefix(struct Client *sptr, struct ConfItem *aconf, char *name)
|
||||||
*prefix_ptr++ = '+';
|
*prefix_ptr++ = '+';
|
||||||
if(IsConfDoSpoofIp(aconf))
|
if(IsConfDoSpoofIp(aconf))
|
||||||
*prefix_ptr++ = '=';
|
*prefix_ptr++ = '=';
|
||||||
if(MyOper(sptr) && IsConfExemptKline(aconf))
|
if(IsOper(sptr) && IsConfExemptKline(aconf))
|
||||||
*prefix_ptr++ = '^';
|
*prefix_ptr++ = '^';
|
||||||
if(MyOper(sptr) && IsConfExemptLimits(aconf))
|
if(IsOper(sptr) && IsConfExemptLimits(aconf))
|
||||||
*prefix_ptr++ = '>';
|
*prefix_ptr++ = '>';
|
||||||
if(MyOper(sptr) && IsConfIdlelined(aconf))
|
if(IsOper(sptr) && IsConfIdlelined(aconf))
|
||||||
*prefix_ptr++ = '<';
|
*prefix_ptr++ = '<';
|
||||||
*prefix_ptr = '\0';
|
*prefix_ptr = '\0';
|
||||||
strncpy(prefix_ptr, name, USERLEN);
|
strncpy(prefix_ptr, name, USERLEN);
|
||||||
|
@ -713,7 +713,7 @@ report_auth(struct Client *client_p)
|
||||||
{
|
{
|
||||||
aconf = arec->aconf;
|
aconf = arec->aconf;
|
||||||
|
|
||||||
if(!MyOper(client_p) && IsConfDoSpoofIp(aconf))
|
if(!IsOper(client_p) && IsConfDoSpoofIp(aconf))
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
get_printable_conf(aconf, &name, &host, &pass, &user, &port,
|
get_printable_conf(aconf, &name, &host, &pass, &user, &port,
|
||||||
|
|
Loading…
Reference in a new issue