diff options
| author | 2021-04-18 19:29:34 +0100 | |
|---|---|---|
| committer | 2021-04-19 00:14:53 +0100 | |
| commit | e701bd030584ab7435e0c1baa188bed34db5df29 (patch) | |
| tree | 221b3d4fec4250429041a3509d3500309111d454 /src/users.cpp | |
| parent | Migrate collections from insert to emplace. (diff) | |
| download | inspircd++-e701bd030584ab7435e0c1baa188bed34db5df29.tar.gz inspircd++-e701bd030584ab7435e0c1baa188bed34db5df29.tar.bz2 inspircd++-e701bd030584ab7435e0c1baa188bed34db5df29.zip | |
Rip out the OnConnectionFail event.
This never really worked correctly and will now be replaced with
something better.
Diffstat (limited to 'src/users.cpp')
| -rw-r--r-- | src/users.cpp | 5 |
1 files changed, 1 insertions, 4 deletions
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() |
