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/ns_list.cpp | |
parent | e4d1769a8bccae767f501ae7fe33033ede6a005a (diff) |
Default some listmax config settings to 50
Diffstat (limited to 'modules/commands/ns_list.cpp')
-rw-r--r-- | modules/commands/ns_list.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/commands/ns_list.cpp b/modules/commands/ns_list.cpp index b1ab19971..31f2cbb51 100644 --- a/modules/commands/ns_list.cpp +++ b/modules/commands/ns_list.cpp @@ -29,7 +29,7 @@ class CommandNSList : public Command bool is_servadmin = source.HasCommand("nickserv/list"); int count = 0, from = 0, to = 0; bool suspended, nsnoexpire, unconfirmed; - unsigned listmax = Config->GetModule(this->owner)->Get<unsigned>("listmax"); + unsigned listmax = Config->GetModule(this->owner)->Get<unsigned>("listmax", "50"); suspended = nsnoexpire = unconfirmed = false; |