diff options
author | Attila Molnar <attilamolnar@hush.com> | 2014-09-03 14:32:02 +0200 |
---|---|---|
committer | Attila Molnar <attilamolnar@hush.com> | 2014-09-03 14:32:02 +0200 |
commit | 8003e37f81e26fde4a3855cdfe6917eb74a2c264 (patch) | |
tree | 37db821550fa3e0e33c843334c5e406fffe63e59 /src/mode.cpp | |
parent | 3427e32cc1fb4cb41a07b08e23e427cd794f9597 (diff) |
Remove ModeHandler::m_paramtype and GetTranslateType()
Diffstat (limited to 'src/mode.cpp')
-rw-r--r-- | src/mode.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/mode.cpp b/src/mode.cpp index ef62c9446..ec0cb6985 100644 --- a/src/mode.cpp +++ b/src/mode.cpp @@ -27,7 +27,7 @@ #include "builtinmodes.h" ModeHandler::ModeHandler(Module* Creator, const std::string& Name, char modeletter, ParamSpec Params, ModeType type, Class mclass) - : ServiceProvider(Creator, Name, SERVICE_MODE), modeid(ModeParser::MODEID_MAX), m_paramtype(TR_TEXT), + : ServiceProvider(Creator, Name, SERVICE_MODE), modeid(ModeParser::MODEID_MAX), parameters_taken(Params), mode(modeletter), oper(false), list(false), m_type(type), type_id(mclass), levelrequired(HALFOP_VALUE) { @@ -187,7 +187,6 @@ PrefixMode::PrefixMode(Module* Creator, const std::string& Name, char ModeLetter , prefix(PrefixChar), prefixrank(Rank) { list = true; - m_paramtype = TR_NICK; } ModeAction PrefixMode::OnModeChange(User* source, User*, Channel* chan, std::string& parameter, bool adding) |