summaryrefslogtreecommitdiff
path: root/include/u_listmode.h
diff options
context:
space:
mode:
authordanieldg <danieldg@e03df62e-2008-0410-955e-edbf42e46eb7>2009-09-13 20:31:33 +0000
committerdanieldg <danieldg@e03df62e-2008-0410-955e-edbf42e46eb7>2009-09-13 20:31:33 +0000
commit1524caf2f799cff54c2de330c9670a0b761ba3d8 (patch)
tree45fffe020b28782a087925c94fb5195fb9b4796b /include/u_listmode.h
parent7892c8a0313c50d8138942ff3b112691caf05a2f (diff)
Simplify ModeHandler constructor
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11701 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'include/u_listmode.h')
-rw-r--r--include/u_listmode.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/u_listmode.h b/include/u_listmode.h
index 9d9b5f836..4b8ffe9e0 100644
--- a/include/u_listmode.h
+++ b/include/u_listmode.h
@@ -142,10 +142,11 @@ class ListModeBase : public ModeHandler
* @param ctag Configuration tag to get limits from
*/
ListModeBase(InspIRCd* Instance, Module* Creator, char modechar, const std::string &eolstr, unsigned int lnum, unsigned int eolnum, bool autotidy, const std::string &ctag = "banlist")
- : ModeHandler(Instance, Creator, modechar, 1, 1, true, MODETYPE_CHANNEL, false),
+ : ModeHandler(Creator, modechar, PARAM_ALWAYS, MODETYPE_CHANNEL),
listnumeric(lnum), endoflistnumeric(eolnum), endofliststring(eolstr), tidy(autotidy),
configtag(ctag), extItem("listbase_mode_" + std::string(1, mode) + "_list", Creator)
{
+ list = true;
this->DoRehash();
Extensible::Register(&extItem);
}