From 9861679f40d2a4f03e524998039c00d2bc838636 Mon Sep 17 00:00:00 2001 From: brain Date: Mon, 26 Dec 2005 18:19:34 +0000 Subject: Converted to new implements system git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2657 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/modules/m_chanprotect.cpp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/modules/m_chanprotect.cpp') diff --git a/src/modules/m_chanprotect.cpp b/src/modules/m_chanprotect.cpp index 25ff6b12a..a26535108 100644 --- a/src/modules/m_chanprotect.cpp +++ b/src/modules/m_chanprotect.cpp @@ -53,6 +53,11 @@ class ModuleChanProtect : public Module // read our config options (main config file) FirstInGetsFounder = Conf->ReadFlag("options","noservices",0); } + + void Implements(char* List) + { + List[I_On005Numeric] = List[I_OnUserKick] = List[I_OnUserPart] = List[I_OnRehash] = List[I_OnUserJoin] = List[I_OnAccessCheck] = List[I_OnExtendedMode] = List[I_OnSendList] = List[I_OnSyncChannel] = 1; + } virtual void On005Numeric(std::string &output) { -- cgit v1.2.3