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. --- include/modules.h | 9 --------- 1 file changed, 9 deletions(-) (limited to 'include') diff --git a/include/modules.h b/include/modules.h index b1e3f31dc..78ac0e41d 100644 --- a/include/modules.h +++ b/include/modules.h @@ -222,7 +222,6 @@ enum Implementation I_OnCheckLimit, I_OnCheckReady, I_OnCommandBlocked, - I_OnConnectionFail, I_OnDecodeMetaData, I_OnDelLine, I_OnExpireLine, @@ -988,14 +987,6 @@ class CoreExport Module : public Cullable, public usecountbase */ virtual ModResult OnUserWrite(LocalUser* user, ClientProtocol::Message& msg); - /** Called when a user connection has been unexpectedly disconnected. - * @param user The user who has been unexpectedly disconnected. - * @param error The type of error which caused this connection failure. - * @return MOD_RES_ALLOW to explicitly retain the user as a zombie, MOD_RES_DENY to explicitly - * disconnect the user, or MOD_RES_PASSTHRU to let another module handle the event. - */ - virtual ModResult OnConnectionFail(LocalUser* user, BufferedSocketError error); - /** Called before a server shuts down. * @param reason The reason the server is shutting down. */ -- cgit v1.3.1-10-gc9f91