]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/modules/m_banredirect.cpp
Allow non-opers to use /MKPASSWD
[user/henk/code/inspircd.git] / src / modules / m_banredirect.cpp
index c15452366241d781344044b798a2dac32fcc9702..72f585f02ce973e3e0ca7ff89d3a4776034f8c4e 100644 (file)
@@ -2,7 +2,7 @@
  *       | Inspire Internet Relay Chat Daemon |
  *       +------------------------------------+
  *
- *  InspIRCd: (C) 2002-2008 InspIRCd Development Team
+ *  InspIRCd: (C) 2002-2009 InspIRCd Development Team
  * See: http://www.inspircd.org/wiki/index.php/Credits
  *
  * This program is free but copyrighted software; see
@@ -17,7 +17,7 @@
 /* $ModDesc: Allows an extended ban (+b) syntax redirecting banned users to another channel */
 /* $ModDep: ../../include/u_listmode.h */
 
-/* Originally written by Om, January 2008
+/* Originally written by Om, January 2009
  */
 
 class BanRedirectEntry : public classbase
@@ -339,7 +339,7 @@ class ModuleBanRedirect : public Module
        void Prioritize()
        {
                Module* banex = ServerInstance->Modules->Find("m_banexception.so");
-               ServerInstance->Modules->SetPriority(this, I_OnUserPreJoin, PRIO_BEFORE, &banex);
+               ServerInstance->Modules->SetPriority(this, I_OnUserPreJoin, PRIORITY_BEFORE, &banex);
        }
 };