From fa8d93e73fac42c2952e78b0e91bfe9a096ab63d Mon Sep 17 00:00:00 2001 From: brain Date: Mon, 26 Dec 2005 20:25:58 +0000 Subject: Converted to new Implements system git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2663 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/modules/m_operchans.cpp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/modules/m_operchans.cpp') diff --git a/src/modules/m_operchans.cpp b/src/modules/m_operchans.cpp index db2c24671..af94bc25f 100644 --- a/src/modules/m_operchans.cpp +++ b/src/modules/m_operchans.cpp @@ -37,6 +37,11 @@ class ModuleOperChans : public Module // Add a mode +O for channels with no parameters Srv->AddExtendedMode('O',MT_CHANNEL,false,0,0); } + + void Implements(char* List) + { + List[I_OnExtendedMode] = List[I_On005Numeric] = List[I_OnUserPreJoin] = 1; + } virtual int OnExtendedMode(userrec* user, void* target, char modechar, int type, bool mode_on, string_list ¶ms) { -- cgit v1.2.3