summaryrefslogtreecommitdiff
path: root/src/users.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/users.cpp')
-rw-r--r--src/users.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/users.cpp b/src/users.cpp
index 81f830583..d30526186 100644
--- a/src/users.cpp
+++ b/src/users.cpp
@@ -727,6 +727,7 @@ void LocalUser::CheckClass()
if (!a)
{
ServerInstance->Users->QuitUser(this, "Access denied by configuration");
+ return;
}
else if (a->type == CC_DENY)
{