Author: Kev <klmitch@mit.edu>
authorKevin L. Mitchell <klmitch@mit.edu>
Mon, 23 Apr 2001 18:42:02 +0000 (18:42 +0000)
committerKevin L. Mitchell <klmitch@mit.edu>
Mon, 23 Apr 2001 18:42:02 +0000 (18:42 +0000)
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
ircd/m_whois.c

index 0f8a10d3d33585e8867bac64f7ce1845bd523f5a..9f1f1b6cb45dc7b5083dae21eaeff0ddf0ee7a11 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2001-04-23  Kevin L. Mitchell  <klmitch@mit.edu>
+
+       * ircd/m_whois.c (do_whois): pull-up of m_whois() fix
+
 2001-04-21  Kevin L. Mitchell  <klmitch@mit.edu>
 
        * ircd/msgq.c: finally remove the msgq_integrity() hack, as it's
index a6253d6320f7b93696e02962f71faa6b96a34aac..5effb4ffef3ae8a7fa994b4b652de8ab42a3e13d 100644 (file)
@@ -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