diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2006-09-10 13:20:01 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2006-09-10 13:20:01 +0000 |
commit | ad9c7a10faaa190f40daa2516286813c5784a841 (patch) | |
tree | 98527cee9769bfd260216bc32d06e55f959cdd08 /src | |
parent | fb6fa568440f4f786f907690548366793c7c681d (diff) |
Change a fux into a fix for pippjin (thanks for the bt)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5194 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src')
-rw-r--r-- | src/modules/m_safelist.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/modules/m_safelist.cpp b/src/modules/m_safelist.cpp index 831ddcac5..3a5d09c36 100644 --- a/src/modules/m_safelist.cpp +++ b/src/modules/m_safelist.cpp @@ -100,10 +100,11 @@ class ListTimer : public InspTimer chan = ServerInstance->GetChannelIndex(ld->list_position); /* spool details */ bool has_user = (chan && chan->HasUser(u)); - if (!match(chan->name, ld->glob.c_str())) - continue; if ((chan) && (((!(chan->modes[CM_PRIVATE])) && (!(chan->modes[CM_SECRET]))) || (has_user))) { + if (!match(chan->name, ld->glob.c_str())) + continue; + long users = chan->GetUserCounter(); if (users) { |