diff options
| author | 2008-08-07 16:10:06 +0000 | |
|---|---|---|
| committer | 2008-08-07 16:10:06 +0000 | |
| commit | f1426e7c160589e63a52f3387bf2b4d28afa92d4 (patch) | |
| tree | 1df09a6beafc4c6b94dca6a6fb35a29d87ae743b /src/modules/m_allowinvite.cpp | |
| parent | Use correct char in exemption.. could lead to chanops being exempted incorrec... (diff) | |
Rethink that. Remove noinvite since it's essentially useless now, so we have chmode +A to allow everyone to invite and extban A to block invite from specific users.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10118 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules/m_allowinvite.cpp')
| -rw-r--r-- | src/modules/m_allowinvite.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_allowinvite.cpp b/src/modules/m_allowinvite.cpp index f137598e2..fcd8130bc 100644 --- a/src/modules/m_allowinvite.cpp +++ b/src/modules/m_allowinvite.cpp @@ -44,7 +44,7 @@ class ModuleAllowInvite : public Module { if (IS_LOCAL(user)) { - if (channel->IsModeSet('A') || channel->IsExtBanned(user, 'A')) + if (channel->IsModeSet('A') && !channel->IsExtBanned(user, 'A')) { // Explicitly allow /invite return -1; |
