]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/message.cpp
Removal of ancient TRUE/FALSE #defines (C-ish stuff)
[user/henk/code/inspircd.git] / src / message.cpp
index 87e23e5015cbbf7a94184b069d2d800e6762e08d..0a41e5b8a6d0943dbb44f7feab7ec369f861f8a0 100644 (file)
@@ -416,7 +416,7 @@ std::string chlist(userrec *user,userrec* source)
                        {
                                // if the channel is NOT private/secret, OR the source user is on the channel, AND the user is not invisible.
                                // if the user is the same as the source, shortcircuit the comparison.
-                               if ((source == user) || ((((!(((ucrec*)(*i))->channel->custom_modes[CM_PRIVATE])) && (!(((ucrec*)(*i))->channel->custom_modes[CM_SECRET])) && (!userinvisible)) || (((ucrec*)(*i))->channel->HasUser(source)))))
+                               if ((source == user) || ((((!(((ucrec*)(*i))->channel->modes[CM_PRIVATE])) && (!(((ucrec*)(*i))->channel->modes[CM_SECRET])) && (!userinvisible)) || (((ucrec*)(*i))->channel->HasUser(source)))))
                                {
                                        lst = lst + std::string(cmode(user,((ucrec*)(*i))->channel)) + std::string(((ucrec*)(*i))->channel->name) + " ";
                                }