]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/modules/m_shun.cpp
Fix for bug #791, if an error is set treat this as 'could not get certificate'
[user/henk/code/inspircd.git] / src / modules / m_shun.cpp
index 09d9872ad1dddfc1876e9c79f327d80bbe29d801..62f4cfd05b2eb225ee56dd9b828d701c2ae4e699 100644 (file)
@@ -3,7 +3,7 @@
  *       +------------------------------------+
  *
  *  InspIRCd: (C) 2002-2009 InspIRCd Development Team
- * See: http://www.inspircd.org/wiki/index.php/Credits
+ * See: http://wiki.inspircd.org/Credits
  *
  * This program is free but copyrighted software; see
  *          the file COPYING for details.
@@ -281,7 +281,8 @@ class ModuleShun : public Module
                        parameters.clear();
                }
 
-               return 1;
+               /* if we're here, allow the command. */
+               return 0;
        }
 
        virtual Version GetVersion()