Author: Ghostwolf <foxxe@wtfs.net>
authorJoseph Bongaarts <foxxe@wtfs.net>
Tue, 19 Feb 2002 22:03:00 +0000 (22:03 +0000)
committerJoseph Bongaarts <foxxe@wtfs.net>
Tue, 19 Feb 2002 22:03:00 +0000 (22:03 +0000)
Log message:
Let local opers see server names in /who

git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@649 c9e4aea6-c8fd-4c43-8297-357d70d61c8c

ChangeLog
ircd/whocmds.c

index c9c18513cdcc8d2634c781ecbe6feee53903da32..e6a6f0fe221504e349ff8755367123318620f368 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2002-02-19 Joseph Bongaarts <foxxe@wtfs.net>
+
+        * ircd/whocmds.c: Local opers should also be able to
+        see servernames in /who
+
 2002-02-19 John Buttery <john@io.com>
 
        * ircd/ircd.c: Updated "No such file" error message.
index 8bdb1ce8f36ac4038e44d9134b12abc3c9b4aedd..1f4fb1af1a7f5b764a16ed0d332c9ae54d2ab6c8 100644 (file)
@@ -138,7 +138,7 @@ void do_who(struct Client* sptr, struct Client* acptr, struct Channel* repchan,
   {
     char *p2;
 #ifdef HEAD_IN_SAND_WHO_SERVERNAME
-    if (IsOper(sptr))
+    if (IsAnOper(sptr))
 #endif
       p2 = cli_name(cli_user(acptr)->server);
 #ifdef HEAD_IN_SAND_WHO_SERVERNAME