diff options
| author | 2020-04-09 15:18:04 +0100 | |
|---|---|---|
| committer | 2020-04-09 15:18:04 +0100 | |
| commit | bb39d78be61e45555cdd87985e26ea07b725fabf (patch) | |
| tree | 157dc8144dca9d65eec162773fe3f845e6a5582f /src/users.cpp | |
| parent | Allow <passforward:forwardmsg> to be optional. (diff) | |
Set the minimum length to 1 for most config items with a default.
Diffstat (limited to 'src/users.cpp')
| -rw-r--r-- | src/users.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/users.cpp b/src/users.cpp index 0f1ee7466..72a6c23af 100644 --- a/src/users.cpp +++ b/src/users.cpp @@ -508,7 +508,7 @@ void LocalUser::CheckClass(bool clone_count) } else if (a->type == CC_DENY) { - ServerInstance->Users->QuitUser(this, a->config->getString("reason", "Unauthorised connection")); + ServerInstance->Users->QuitUser(this, a->config->getString("reason", "Unauthorised connection", 1)); return; } else if (clone_count) |
