From 4fc2f7199e964ba5112ecdb2613c6fd5c2eee638 Mon Sep 17 00:00:00 2001 From: Attila Molnar Date: Sun, 18 Jan 2015 10:40:33 +0100 Subject: Specify which Extensible subclass an ExtensionItem is valid for --- src/listmode.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/listmode.cpp') 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; } -- cgit v1.2.3