From 22d8967b7da6432c5c22e87713654c3f3d348f84 Mon Sep 17 00:00:00 2001 From: danieldg Date: Sat, 6 Mar 2010 21:11:17 +0000 Subject: 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 --- src/usermanager.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src') 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. -- cgit v1.2.3