diff options
author | attilamolnar <attilamolnar@hush.com> | 2013-09-01 14:17:04 +0200 |
---|---|---|
committer | attilamolnar <attilamolnar@hush.com> | 2013-09-11 12:10:07 +0200 |
commit | 537ad4740afdbc656326cce766d1818cf5811c37 (patch) | |
tree | 7893f5921990384ddafcc97cb097c394dbc115e1 /src | |
parent | 9d75ba35743eb8f44a2d7beb8e08aa43c13f5d2e (diff) |
Add a type id field to ModeHandler
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) { } |