diff options
| author | 2020-04-09 18:06:50 +0100 | |
|---|---|---|
| committer | 2020-04-09 18:06:50 +0100 | |
| commit | e1ed9b275f465fbc235a23e416ba7626c7cba6cc (patch) | |
| tree | a0cda4ca3cf14e2731ada5cd6fc890eb90e80731 /src/users.cpp | |
| parent | Merge branch 'insp3' into master. (diff) | |
| parent | Set the minimum length to 1 for most config items with a default. (diff) | |
| download | inspircd++-e1ed9b275f465fbc235a23e416ba7626c7cba6cc.tar.gz inspircd++-e1ed9b275f465fbc235a23e416ba7626c7cba6cc.tar.bz2 inspircd++-e1ed9b275f465fbc235a23e416ba7626c7cba6cc.zip | |
Merge branch 'insp3' into master.
Diffstat (limited to 'src/users.cpp')
| -rw-r--r-- | src/users.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/users.cpp b/src/users.cpp index c024ef366..1c5400a98 100644 --- a/src/users.cpp +++ b/src/users.cpp @@ -90,7 +90,7 @@ User::User(const std::string& uid, Server* srv, UserType type) ServerInstance->Logs.Log("USERS", LOG_DEBUG, "New UUID for user: %s", uuid.c_str()); if (srv->IsULine()) - ServerInstance->Users.all_ulines.push_back(this); + ServerInstance->Users.all_ulines.push_back(this); // Do not insert FakeUsers into the uuidlist so FindUUID() won't return them which is the desired behavior if (type != USERTYPE_SERVER) @@ -497,7 +497,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) |
