Fix /whois handling of secret local channels for locops.
authorMichael Poole <mdpoole@troilus.org>
Fri, 9 Jun 2006 02:16:17 +0000 (02:16 +0000)
committerMichael Poole <mdpoole@troilus.org>
Fri, 9 Jun 2006 02:16:17 +0000 (02:16 +0000)
git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/branches/u2_10_12_branch@1667 c9e4aea6-c8fd-4c43-8297-357d70d61c8c

ChangeLog
ircd/m_whois.c

index 89347bb37556f90d319851ec558e6415eae13505..7fe342c376c828ebcdf9a9e34ad24e50364eda5d 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2006-06-08  Michael Poole <mdpoole@troilus.org>
+
+       * ircd/m_whois.c (do_whois): Prefix '*' to names of secret (local)
+       channels for locops as well as global opers.
+
 2006-06-08  Michael Poole <mdpoole@troilus.org>
 
        * ircd/m_gline.c (ms_gline): Use final argument as G-line reason.
index e9c1411853a04914433e8eba23305b5bec3f48ab..f38d6adfefde91a4796d8c6ca3b72923e385d038 100644 (file)
@@ -176,7 +176,7 @@ static void do_whois(struct Client* sptr, struct Client *acptr, int parc)
        }
        if (IsDeaf(acptr))
          *(buf + len++) = '-';
-       if (IsOper(sptr) && !ShowChannel(sptr, chptr))
+       if (!ShowChannel(sptr, chptr))
          *(buf + len++) = '*';
        if (IsDelayedJoin(chan) && (sptr != acptr))
          *(buf + len++) = '<';