diff options
author | cyberbotx <cyberbotx@5417fbe8-f217-4b02-8779-1006273d7864> | 2009-03-22 01:31:43 +0000 |
---|---|---|
committer | cyberbotx <cyberbotx@5417fbe8-f217-4b02-8779-1006273d7864> | 2009-03-22 01:31:43 +0000 |
commit | 2af1c0a5e9ee1b7f8438aed2174e2b8776a276b4 (patch) | |
tree | 8fde1c07e7c9703aa5e9f17f567520ff59280101 | |
parent | 08c8a883ef5c1ec2a0ee38ce27f7de88c09a709f (diff) |
Backport of bugfix for bug #1043 from SVN r2178, patch from Adam, CS LIST will no longer show suspended channels to normal users.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/stable@2181 5417fbe8-f217-4b02-8779-1006273d7864
-rw-r--r-- | src/core/cs_list.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/cs_list.c b/src/core/cs_list.c index 29c3513b6..d0b9ad9eb 100644 --- a/src/core/cs_list.c +++ b/src/core/cs_list.c @@ -154,7 +154,7 @@ int do_list(User * u) for (i = 0; i < 256; i++) { for (ci = chanlists[i]; ci; ci = ci->next) { if (!is_servadmin && ((ci->flags & CI_PRIVATE) - || (ci->flags & CI_VERBOTEN))) + || (ci->flags & CI_VERBOTEN) || (ci->flags & CI_SUSPENDED))) continue; if ((matchflags != 0) && !(ci->flags & matchflags)) continue; |