From e701bd030584ab7435e0c1baa188bed34db5df29 Mon Sep 17 00:00:00 2001 From: Sadie Powell Date: Sun, 18 Apr 2021 19:29:34 +0100 Subject: Rip out the OnConnectionFail event. This never really worked correctly and will now be replaced with something better. --- src/users.cpp | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'src/users.cpp') diff --git a/src/users.cpp b/src/users.cpp index b373f9f93..d6d386045 100644 --- a/src/users.cpp +++ b/src/users.cpp @@ -342,10 +342,7 @@ bool UserIOHandler::OnSetRemoteEndPoint(const irc::sockets::sockaddrs& ep) void UserIOHandler::OnError(BufferedSocketError sockerr) { - ModResult res; - FIRST_MOD_RESULT(OnConnectionFail, res, (user, sockerr)); - if (res != MOD_RES_ALLOW) - ServerInstance->Users.QuitUser(user, GetError()); + ServerInstance->Users.QuitUser(user, GetError()); } Cullable::Result User::Cull() -- cgit v1.3.1-10-gc9f91