diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2005-05-12 18:42:06 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2005-05-12 18:42:06 +0000 |
commit | 2cd3b57fe08b6cdae5d99021252898dedd3a0650 (patch) | |
tree | 77a8ebf2339d02c324aaa5d066913756c51d35b2 /src/modules/m_override.cpp | |
parent | a266dadd1351d10b56ec187c7b6f7af75350ed68 (diff) |
Structure optimizations, changed a lot of bools into binary bitmasks
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1368 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules/m_override.cpp')
-rw-r--r-- | src/modules/m_override.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_override.cpp b/src/modules/m_override.cpp index 063e94b12..916acb36e 100644 --- a/src/modules/m_override.cpp +++ b/src/modules/m_override.cpp @@ -165,7 +165,7 @@ class ModuleOverride : public Module { if (chan) { - if ((chan->inviteonly) && (CanOverride(user,"INVITE"))) + if ((chan->binarymodes & CM_INVITEONLY) && (CanOverride(user,"INVITE"))) { if (NoisyOverride) { |