mirror of
https://github.com/anope/anope.git
synced 2026-07-06 13:33:13 +02:00
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
This commit is contained in:
+1
-1
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user