aboutsummaryrefslogtreecommitdiff
path: root/src/cmd_list.cpp
diff options
context:
space:
mode:
authorGravatar brain2006-03-12 14:49:30 +0000
committerGravatar brain2006-03-12 14:49:30 +0000
commitced58c3be3f1da8dcf70c3904e5fe4bdaabf0e3d (patch)
treedfe3ef7f3758ba7ae95fd1ae70c93d26238b7917 /src/cmd_list.cpp
parent*NEEDS TESTING* changed binarymodes to use the custom_modes entries (diff)
Renamed to chanrec::modes
Renamed IsCustomModeSet to IsModeSet GetModeParameter will now return the channel limit (as a string) for a request for mode 'l' and the channel key for a request for mode 'k'. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3692 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/cmd_list.cpp')
-rw-r--r--src/cmd_list.cpp2
1 files changed, 1 insertions, 1 deletions
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)