From a63a1eab74f5e4245608afa451f9fe84376f1057 Mon Sep 17 00:00:00 2001 From: Jilles Tjoelker Date: Tue, 1 Jan 2008 18:25:04 +0100 Subject: [PATCH] STATS I: Show spoofed auth{} blocks and ^<> flags to remote opers also. --- src/hostmask.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/hostmask.c b/src/hostmask.c index 90208e01..f726c9e0 100644 --- a/src/hostmask.c +++ b/src/hostmask.c @@ -682,11 +682,11 @@ show_iline_prefix(struct Client *sptr, struct ConfItem *aconf, char *name) *prefix_ptr++ = '+'; if(IsConfDoSpoofIp(aconf)) *prefix_ptr++ = '='; - if(MyOper(sptr) && IsConfExemptKline(aconf)) + if(IsOper(sptr) && IsConfExemptKline(aconf)) *prefix_ptr++ = '^'; - if(MyOper(sptr) && IsConfExemptLimits(aconf)) + if(IsOper(sptr) && IsConfExemptLimits(aconf)) *prefix_ptr++ = '>'; - if(MyOper(sptr) && IsConfIdlelined(aconf)) + if(IsOper(sptr) && IsConfIdlelined(aconf)) *prefix_ptr++ = '<'; *prefix_ptr = '\0'; strncpy(prefix_ptr, name, USERLEN); @@ -713,7 +713,7 @@ report_auth(struct Client *client_p) { aconf = arec->aconf; - if(!MyOper(client_p) && IsConfDoSpoofIp(aconf)) + if(!IsOper(client_p) && IsConfDoSpoofIp(aconf)) continue; get_printable_conf(aconf, &name, &host, &pass, &user, &port,