diff options
author | Adam <Adam@anope.org> | 2013-08-10 12:33:27 -0400 |
---|---|---|
committer | Adam <Adam@anope.org> | 2013-08-10 12:33:27 -0400 |
commit | 10a918f9e1cffdad805c12a2f9d70c2892f5b871 (patch) | |
tree | ddd8f9fd1c2fea4c4fb9b7ee4e05a653fbc34327 /modules/commands/cs_list.cpp | |
parent | e4d1769a8bccae767f501ae7fe33033ede6a005a (diff) |
Default some listmax config settings to 50
Diffstat (limited to 'modules/commands/cs_list.cpp')
-rw-r--r-- | modules/commands/cs_list.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/commands/cs_list.cpp b/modules/commands/cs_list.cpp index a92729b61..00dc0d8a5 100644 --- a/modules/commands/cs_list.cpp +++ b/modules/commands/cs_list.cpp @@ -66,7 +66,7 @@ class CommandCSList : public Command } Anope::string spattern = "#" + pattern; - unsigned listmax = Config->GetModule(this->owner)->Get<unsigned>("listmax"); + unsigned listmax = Config->GetModule(this->owner)->Get<unsigned>("listmax", "50"); source.Reply(_("List of entries matching \002%s\002:"), pattern.c_str()); |