diff options
author | Robby- <robby@chat.be> | 2013-10-28 09:25:17 +0100 |
---|---|---|
committer | Robby- <robby@chat.be> | 2013-10-28 09:25:17 +0100 |
commit | 710d4848bd7c42fbd203d976aadd7044fdc6d8c7 (patch) | |
tree | fe250804cdd1c30f162995d2234ff2797c5e838b /modules/commands/ns_access.cpp | |
parent | bd3bed21189d0f03e499b1c54840a1cafdd96f1a (diff) |
Fix kill and killquick default expiry times.
ns_access and ns_cert: Fix accessmax defaults, also state in the config that 0 is not a valid value.
Diffstat (limited to 'modules/commands/ns_access.cpp')
-rw-r--r-- | modules/commands/ns_access.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/commands/ns_access.cpp b/modules/commands/ns_access.cpp index ddbcad0a2..15bddeb36 100644 --- a/modules/commands/ns_access.cpp +++ b/modules/commands/ns_access.cpp @@ -28,7 +28,7 @@ class CommandNSAccess : public Command return; } - if (nc->access.size() >= Config->GetModule(this->owner)->Get<unsigned>("accessmax")) + if (nc->access.size() >= Config->GetModule(this->owner)->Get<unsigned>("accessmax", "32")) { source.Reply(_("Sorry, the maximum of %d access entries has been reached."), Config->GetModule(this->owner)->Get<unsigned>("accessmax")); return; |