]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/modules/m_allowinvite.cpp
Increase the size of the matrix for map drawing to 250x250
[user/henk/code/inspircd.git] / src / modules / m_allowinvite.cpp
index f137598e2b40facc95c3c7d13f2b521350e14635..fcd8130bc0d4a92e070615cbac39512b8ca10ccd 100644 (file)
@@ -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;