summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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.