summaryrefslogtreecommitdiff
path: root/src/modules
diff options
context:
space:
mode:
authordz <dz@e03df62e-2008-0410-955e-edbf42e46eb7>2009-03-15 19:07:04 +0000
committerdz <dz@e03df62e-2008-0410-955e-edbf42e46eb7>2009-03-15 19:07:04 +0000
commit789ddb96f52235dca90b095bd5d9c1816e73bce4 (patch)
tree819603365fd6e1487670fa1ddfdaf91ec7f215c6 /src/modules
parent0a1476a05f4431ac2d0f1aaac244577e74f8875d (diff)
Fix m_shun silently blocking allowed commands on shunned users, fixes bug #771 reported by Taros.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11225 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules')
-rw-r--r--src/modules/m_shun.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/modules/m_shun.cpp b/src/modules/m_shun.cpp
index cb0b7b465..62f4cfd05 100644
--- a/src/modules/m_shun.cpp
+++ b/src/modules/m_shun.cpp
@@ -281,7 +281,8 @@ class ModuleShun : public Module
parameters.clear();
}
- return 1;
+ /* if we're here, allow the command. */
+ return 0;
}
virtual Version GetVersion()