From 789ecee37861a847ff5d7043e77fa4df0cfc9a41 Mon Sep 17 00:00:00 2001 From: "Kevin L. Mitchell" Date: Mon, 23 Apr 2001 18:42:02 +0000 Subject: [PATCH] Author: Kev Log message: Pull up the m_whois fix to allow local opers to see server indications, also. The missing oper and idle time indications were fixed during the original forward port, but I forgot about the bug in the first place, and did not manage to fix it in u2.10.10.pl14 git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@432 c9e4aea6-c8fd-4c43-8297-357d70d61c8c --- ChangeLog | 4 ++++ ircd/m_whois.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 0f8a10d..9f1f1b6 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2001-04-23 Kevin L. Mitchell + + * ircd/m_whois.c (do_whois): pull-up of m_whois() fix + 2001-04-21 Kevin L. Mitchell * ircd/msgq.c: finally remove the msgq_integrity() hack, as it's diff --git a/ircd/m_whois.c b/ircd/m_whois.c index a6253d6..5effb4f 100644 --- a/ircd/m_whois.c +++ b/ircd/m_whois.c @@ -192,7 +192,7 @@ static void do_whois(struct Client* sptr, struct Client *acptr) } #ifdef HEAD_IN_SAND_WHOIS_SERVERNAME - if (!IsOper(sptr) || sptr == a2cptr) + if (!IsAnOper(sptr) || sptr == a2cptr) send_reply(sptr, RPL_WHOISSERVER, name, "*.undernet.org", "The Undernet Underworld"); else -- 2.20.1