summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordanieldg <danieldg@e03df62e-2008-0410-955e-edbf42e46eb7>2010-03-06 21:11:17 +0000
committerdanieldg <danieldg@e03df62e-2008-0410-955e-edbf42e46eb7>2010-03-06 21:11:17 +0000
commit22d8967b7da6432c5c22e87713654c3f3d348f84 (patch)
tree592f4bc08b8d5450f86e88924360186b39460550
parentd3ca6510fa23308481d10da0bb7770d251fb659b (diff)
Fix logged error when user is denied by connect class
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12609 e03df62e-2008-0410-955e-edbf42e46eb7
-rw-r--r--src/usermanager.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/usermanager.cpp b/src/usermanager.cpp
index 22c8239b9..8c87ab5e1 100644
--- a/src/usermanager.cpp
+++ b/src/usermanager.cpp
@@ -90,6 +90,8 @@ void UserManager::AddUser(int socket, ListenSocket* via, irc::sockets::sockaddrs
* This will be done again after DNS resolution. -- w00t
*/
New->CheckClass();
+ if (New->quitting)
+ return;
/*
* even with bancache, we still have to keep User::exempt current.