From 789ddb96f52235dca90b095bd5d9c1816e73bce4 Mon Sep 17 00:00:00 2001 From: dz Date: Sun, 15 Mar 2009 19:07:04 +0000 Subject: 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 --- src/modules/m_shun.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/modules') 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() -- cgit v1.2.3