aboutsummaryrefslogtreecommitdiff
path: root/src/modules/m_haproxy.cpp
diff options
context:
space:
mode:
authorGravatar Sadie Powell2023-01-21 13:22:33 +0000
committerGravatar Sadie Powell2023-01-21 13:22:33 +0000
commitc0bb4742e0c9d5bd878a9f590dac21ae608e1785 (patch)
tree899dcafe892b6bee1bd2bc367e8468d3fc13ec62 /src/modules/m_haproxy.cpp
parentUse the underlying transport method for pinging idle clients. (diff)
Make implementing OnStreamSocketClose optional in middle hooks.
Diffstat (limited to 'src/modules/m_haproxy.cpp')
-rw-r--r--src/modules/m_haproxy.cpp5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/modules/m_haproxy.cpp b/src/modules/m_haproxy.cpp
index c9b6187d9..f561f08a8 100644
--- a/src/modules/m_haproxy.cpp
+++ b/src/modules/m_haproxy.cpp
@@ -413,11 +413,6 @@ public:
// We should never reach this point.
return -1;
}
-
- void OnStreamSocketClose(StreamSocket* sock) override
- {
- // We don't need to implement this.
- }
};
void HAProxyHookProvider::OnAccept(StreamSocket* sock, const irc::sockets::sockaddrs& client, const irc::sockets::sockaddrs& server)