diff options
author | Attila Molnar <attilamolnar@hush.com> | 2015-01-18 10:40:33 +0100 |
---|---|---|
committer | Attila Molnar <attilamolnar@hush.com> | 2015-01-18 10:40:33 +0100 |
commit | 4fc2f7199e964ba5112ecdb2613c6fd5c2eee638 (patch) | |
tree | bf2469f00fd4dfeaa07c0ab431a9663952cf17b7 /src/listmode.cpp | |
parent | 4b6f7d789333dd9fd3b08f8742a68c0f9c6c2254 (diff) |
Specify which Extensible subclass an ExtensionItem is valid for
Diffstat (limited to 'src/listmode.cpp')
-rw-r--r-- | src/listmode.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/listmode.cpp b/src/listmode.cpp index 1147a4ef2..35964dfb3 100644 --- a/src/listmode.cpp +++ b/src/listmode.cpp @@ -22,7 +22,8 @@ ListModeBase::ListModeBase(Module* Creator, const std::string& Name, char modechar, const std::string &eolstr, unsigned int lnum, unsigned int eolnum, bool autotidy, const std::string &ctag) : ModeHandler(Creator, Name, modechar, PARAM_ALWAYS, MODETYPE_CHANNEL, MC_LIST), listnumeric(lnum), endoflistnumeric(eolnum), endofliststring(eolstr), tidy(autotidy), - configtag(ctag), extItem("listbase_mode_" + name + "_list", Creator) + configtag(ctag) + , extItem("listbase_mode_" + name + "_list", ExtensionItem::EXT_CHANNEL, Creator) { list = true; } |