diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2007-11-04 16:38:14 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2007-11-04 16:38:14 +0000 |
commit | f6bd92ab87208b104baba2eaa99236d0b03d8552 (patch) | |
tree | 028c3f37c19fab06ef6d55bb22ebfbc4010139b7 /src | |
parent | aaf4373299964151e53491ea63e77c73125bca79 (diff) |
Again
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8506 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src')
-rw-r--r-- | src/modules/m_delayjoin.cpp | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/modules/m_delayjoin.cpp b/src/modules/m_delayjoin.cpp index ef7d96f5a..d978921a1 100644 --- a/src/modules/m_delayjoin.cpp +++ b/src/modules/m_delayjoin.cpp @@ -75,10 +75,11 @@ class ModuleDelayJoin : public Module DELETE(djm); } - Priority Prioritize() + void Prioritize() { - /* To ensure that we get priority over namesx for names list generation on +u channels */ - return (Priority)ServerInstance->Modules->PriorityBefore("m_namesx.so"); + /* To ensure that we get priority over namesx for names list generation */ + Module* namesx = ServerInstance->Modules->Find("m_namesx.so"); + ServerInstance->Modules->SetPriority(this, I_OnUserList, PRIO_BEFORE, &namesx); } virtual Version GetVersion() |