diff options
| author | 2009-03-15 19:07:04 +0000 | |
|---|---|---|
| committer | 2009-03-15 19:07:04 +0000 | |
| commit | 789ddb96f52235dca90b095bd5d9c1816e73bce4 (patch) | |
| tree | 819603365fd6e1487670fa1ddfdaf91ec7f215c6 /src/modules/m_shun.cpp | |
| parent | Use IS_OPER(u) instead of checking for umode +o to correctly add opers during... (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/m_shun.cpp')
| -rw-r--r-- | src/modules/m_shun.cpp | 3 |
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() |
