]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/modules/m_spy.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_spy.cpp
index cc8a08674a00ada3171dc838796e29b28c7eec86..297112f62e73b49704421c28b2cfecfd1057bea1 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.
@@ -36,7 +36,7 @@ class ModuleSpy : public Module
        {
                /* To ensure that we get priority over namesx and delayjoin for names list generation */
                Module* list[] = { ServerInstance->Modules->Find("m_namesx.so"), ServerInstance->Modules->Find("m_delayjoin.so") };
-               ServerInstance->Modules->SetPriority(this, I_OnUserList, PRIO_BEFORE, list, 2);
+               ServerInstance->Modules->SetPriority(this, I_OnUserList, PRIORITY_BEFORE, list, 2);
        }
 
        virtual ~ModuleSpy()