]> git.netwichtig.de Git - user/henk/code/inspircd.git/commitdiff
Take invisible requirement out of chlist()
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>
Fri, 28 Jul 2006 15:45:38 +0000 (15:45 +0000)
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>
Fri, 28 Jul 2006 15:45:38 +0000 (15:45 +0000)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4577 e03df62e-2008-0410-955e-edbf42e46eb7

src/message.cpp

index 5a09f3f37bd25ff52d480a347642f3d30c9d24c2..88ff0ad3d9644ce346d83dde77842e17a2238428 100644 (file)
@@ -306,7 +306,7 @@ std::string chlist(userrec *user,userrec* source)
                         * If the channel is NOT private/secret OR the user shares a common channel
                         * If the user is an oper, and the <options:operspywhois> option is set.
                         */
-                       if ((source == user) || (*source->oper && Config->OperSpyWhois) || (((!rec->channel->modes[CM_PRIVATE]) && (!rec->channel->modes[CM_SECRET]) && !(user->modes[UM_INVISIBLE])) || (rec->channel->HasUser(source))))
+                       if ((source == user) || (*source->oper && Config->OperSpyWhois) || (((!rec->channel->modes[CM_PRIVATE]) && (!rec->channel->modes[CM_SECRET])) || (rec->channel->HasUser(source))))
                        {
                                list.append(cmode(user, rec->channel)).append(rec->channel->name).append(" ");
                        }