From b9e643261230d3b71517b0bc631c3b306e7246fa Mon Sep 17 00:00:00 2001 From: brain Date: Mon, 26 Dec 2005 21:14:49 +0000 Subject: Converted to 'Implements' system git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2666 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/modules/m_services.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src/modules/m_services.cpp') diff --git a/src/modules/m_services.cpp b/src/modules/m_services.cpp index 22d3242b7..edf258fbc 100644 --- a/src/modules/m_services.cpp +++ b/src/modules/m_services.cpp @@ -60,6 +60,11 @@ class ModuleServices : public Module if (temp2.length()) output = temp2.substr(0,temp2.length()-1); } + + void Implements(char* List) + { + List[I_OnUserPreMessage] = List[I_OnExtendedMode] = List[I_On005Numeric] = List[I_OnUserPreNotice] = List[I_OnUserPreJoin] = 1; + } virtual int OnExtendedMode(userrec* user, void* target, char modechar, int type, bool mode_on, string_list ¶ms) { @@ -212,11 +217,6 @@ class ModuleServices : public Module { return Version(1,0,0,0,VF_STATIC|VF_VENDOR); } - - virtual void OnUserConnect(userrec* user) - { - } - }; -- cgit v1.2.3