X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=src%2Fcmd_list.cpp;h=27a9ce44d5bc3f0e81ea1e44a07563589a33da69;hb=ced58c3be3f1da8dcf70c3904e5fe4bdaabf0e3d;hp=3b91d88e9c7f2a4410f5881d7b0b13c5840c6746;hpb=988568f3d1cc2247fa3adbadd8daa0ee175fcb1d;p=user%2Fhenk%2Fcode%2Finspircd.git diff --git a/src/cmd_list.cpp b/src/cmd_list.cpp index 3b91d88e9..27a9ce44d 100644 --- a/src/cmd_list.cpp +++ b/src/cmd_list.cpp @@ -47,7 +47,7 @@ void cmd_list::Handle (char **parameters, int pcnt, userrec *user) { // if the channel is not private/secret, OR the user is on the channel anyway bool n = i->second->HasUser(user); - if (((!(i->second->custom_modes[CM_PRIVATE])) && (!(i->second->custom_modes[CM_SECRET]))) || (n)) + if (((!(i->second->modes[CM_PRIVATE])) && (!(i->second->modes[CM_SECRET]))) || (n)) { long users = usercount_i(i->second); if (users)