summaryrefslogtreecommitdiff
path: root/modules/commands/hs_list.cpp
diff options
context:
space:
mode:
authorAdam <Adam@anope.org>2013-08-10 12:33:27 -0400
committerAdam <Adam@anope.org>2013-08-10 12:33:27 -0400
commit10a918f9e1cffdad805c12a2f9d70c2892f5b871 (patch)
treeddd8f9fd1c2fea4c4fb9b7ee4e05a653fbc34327 /modules/commands/hs_list.cpp
parente4d1769a8bccae767f501ae7fe33033ede6a005a (diff)
Default some listmax config settings to 50
Diffstat (limited to 'modules/commands/hs_list.cpp')
-rw-r--r--modules/commands/hs_list.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/commands/hs_list.cpp b/modules/commands/hs_list.cpp
index aa712008f..2eec6d17c 100644
--- a/modules/commands/hs_list.cpp
+++ b/modules/commands/hs_list.cpp
@@ -53,7 +53,7 @@ class CommandHSList : public Command
}
}
- unsigned display_counter = 0, listmax = Config->GetModule(this->owner)->Get<unsigned>("listmax");
+ unsigned display_counter = 0, listmax = Config->GetModule(this->owner)->Get<unsigned>("listmax", "50");
ListFormatter list;
list.AddColumn("Number").AddColumn("Nick").AddColumn("Vhost").AddColumn("Creator").AddColumn("Created");