From cdaf7ac3781a0ea1bfbfac85c4a428ddea7725f9 Mon Sep 17 00:00:00 2001 From: brain Date: Wed, 25 Jan 2006 16:31:05 +0000 Subject: Added PRIORITY_BEFORE and PRIORITY_AFTER (see src/modules/m_hostchange.cpp for how it works, function Prioritize()) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2889 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/modules/m_hostchange.cpp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/modules/m_hostchange.cpp') diff --git a/src/modules/m_hostchange.cpp b/src/modules/m_hostchange.cpp index 0d7060f8b..bd4a0ba6e 100644 --- a/src/modules/m_hostchange.cpp +++ b/src/modules/m_hostchange.cpp @@ -45,6 +45,11 @@ class ModuleHostChange : public Module delete Conf; } + Priority Prioritize() + { + return (Priority)Srv->PriorityAfter("m_cloaking.so"); + } + void Implements(char* List) { List[I_OnRehash] = List[I_OnUserConnect] = 1; -- cgit v1.2.3