]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/modules/m_hostchange.cpp
Fix previous module mismatch message; "remote" is misleading when sent as an ERROR
[user/henk/code/inspircd.git] / src / modules / m_hostchange.cpp
index 17f0abc88e33a38e7531efbf9e8811060a755178..d54076b436c9f15dfce33c9b03b23cd5bc003bfa 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
@@ -56,7 +56,7 @@ class ModuleHostChange : public Module
        void Prioritize()
        {
                Module* cloak = ServerInstance->Modules->Find("m_cloaking.so");
-               ServerInstance->Modules->SetPriority(this, I_OnUserConnect, PRIO_AFTER, &cloak);
+               ServerInstance->Modules->SetPriority(this, I_OnUserConnect, PRIORITY_AFTER, &cloak);
        }