X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=src%2Fmodules%2Fm_spy.cpp;h=d00983971ee8b5ac2a8885b8f097425aea93b424;hb=00fa6d592ed2640fcdf74444786de555c1c3da25;hp=cc8a08674a00ada3171dc838796e29b28c7eec86;hpb=43847ec9c7e1a195163eb4c529f1c92fd1ace0a4;p=user%2Fhenk%2Fcode%2Finspircd.git 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()