diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/mode.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mode.cpp b/src/mode.cpp index 15f5c0d60..b76e1558f 100644 --- a/src/mode.cpp +++ b/src/mode.cpp @@ -26,10 +26,10 @@ #include "inspircd.h" #include "builtinmodes.h" -ModeHandler::ModeHandler(Module* Creator, const std::string& Name, char modeletter, ParamSpec Params, ModeType type) +ModeHandler::ModeHandler(Module* Creator, const std::string& Name, char modeletter, ParamSpec Params, ModeType type, Class mclass) : ServiceProvider(Creator, Name, SERVICE_MODE), m_paramtype(TR_TEXT), parameters_taken(Params), mode(modeletter), prefix(0), oper(false), - list(false), m_type(type), levelrequired(HALFOP_VALUE), prefixrank(0) + list(false), m_type(type), type_id(mclass), levelrequired(HALFOP_VALUE), prefixrank(0) { } |