summaryrefslogtreecommitdiff
path: root/src/modules/m_operchans.cpp
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2005-12-26 20:25:58 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2005-12-26 20:25:58 +0000
commitfa8d93e73fac42c2952e78b0e91bfe9a096ab63d (patch)
tree6fa33a3385a646527aa1602b13ad8c4e6eecc2a3 /src/modules/m_operchans.cpp
parent6985fb2b69872dd641f9f48ffae1c0ac4f185a2d (diff)
Converted to new Implements system
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2663 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules/m_operchans.cpp')
-rw-r--r--src/modules/m_operchans.cpp5
1 files changed, 5 insertions, 0 deletions
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 &params)
{