summaryrefslogtreecommitdiff
path: root/modules/commands/ns_list.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'modules/commands/ns_list.cpp')
-rw-r--r--modules/commands/ns_list.cpp2
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;