]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/users.cpp
Remove references to the long dead SQLv2 from the pgsql module.
[user/henk/code/inspircd.git] / src / users.cpp
index 2571d15f2590f78da83ce8dd64c7ebce86dce859..72a6c23af9e0bcd49a0e4a0530fb73b760a27ea7 100644 (file)
@@ -91,7 +91,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)
@@ -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)