STATS I: Show spoofed auth{} blocks and ^<> flags to remote opers also.
This commit is contained in:
parent
24350e6234
commit
331c47e00a
|
@ -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 New Issue