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