summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authordanieldg <danieldg@e03df62e-2008-0410-955e-edbf42e46eb7>2010-03-06 19:27:57 +0000
committerdanieldg <danieldg@e03df62e-2008-0410-955e-edbf42e46eb7>2010-03-06 19:27:57 +0000
commitd3ca6510fa23308481d10da0bb7770d251fb659b (patch)
tree29a4016c43e6d41d59b2fc9263f1f215cfa62aef /src
parent4e0997924d4052dede401fa1c0a1a91ae81c9aa3 (diff)
Somehow this return got removed, should fix "Access denied by configuration" crash
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12607 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src')
-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)
{