diff options
| author | 2006-03-12 14:26:15 +0000 | |
|---|---|---|
| committer | 2006-03-12 14:26:15 +0000 | |
| commit | 988568f3d1cc2247fa3adbadd8daa0ee175fcb1d (patch) | |
| tree | 00623416ea844e1fce5343f1073bb6dbaa75511b /src/cmd_list.cpp | |
| parent | Removed chanrec::binarymodes - insp wont compile atm do not use :p (diff) | |
*NEEDS TESTING* changed binarymodes to use the custom_modes entries
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3691 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/cmd_list.cpp')
| -rw-r--r-- | src/cmd_list.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cmd_list.cpp b/src/cmd_list.cpp index fd0e0c557..3b91d88e9 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->binarymodes & CM_PRIVATE)) && (!(i->second->binarymodes & CM_SECRET))) || (n)) + if (((!(i->second->custom_modes[CM_PRIVATE])) && (!(i->second->custom_modes[CM_SECRET]))) || (n)) { long users = usercount_i(i->second); if (users) |
