summaryrefslogtreecommitdiff
path: root/src/modules/m_spy.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/m_spy.cpp')
-rw-r--r--src/modules/m_spy.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_spy.cpp b/src/modules/m_spy.cpp
index cc8a08674..d00983971 100644
--- a/src/modules/m_spy.cpp
+++ b/src/modules/m_spy.cpp
@@ -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()