diff options
| author | cyberbotx <cyberbotx@5417fbe8-f217-4b02-8779-1006273d7864> | 2009-03-20 02:21:58 +0000 |
|---|---|---|
| committer | cyberbotx <cyberbotx@5417fbe8-f217-4b02-8779-1006273d7864> | 2009-03-20 02:21:58 +0000 |
| commit | 497aa0c012e9b196549edf1112106cc5c207f71b (patch) | |
| tree | ad0fe8e1c20fb33fe942f0983a21f988a12b9ee9 /src | |
| parent | a7189482f5995d5c2acf0a89b9ccc6e678b0b65d (diff) | |
Fix bug #1043, patch from Adam, CS LIST will no longer show suspended channels to normal users.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2178 5417fbe8-f217-4b02-8779-1006273d7864
Diffstat (limited to 'src')
| -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 e42239bf3..41b310521 100644 --- a/src/core/cs_list.c +++ b/src/core/cs_list.c @@ -129,7 +129,7 @@ public: for (ci = chanlists[i]; ci; ci = ci->next) { if (!is_servadmin && ((ci->flags & CI_PRIVATE) - || (ci->flags & CI_FORBIDDEN))) + || (ci->flags & CI_FORBIDDEN) || (ci->flags & CI_SUSPENDED))) continue; if ((matchflags != 0) && !(ci->flags & matchflags)) continue; |
