diff options
| author | 2020-07-20 07:21:16 +0100 | |
|---|---|---|
| committer | 2020-07-20 07:21:16 +0100 | |
| commit | f73d200a1ea56aa68ee5df3935eb83e04537c59f (patch) | |
| tree | 5d539d81502968cdf3b1aba249bd5dd4ecffff45 /src/modules | |
| parent | Merge branch 'insp3' into master. (diff) | |
Split OnSetEndPoint into two events.
Diffstat (limited to 'src/modules')
| -rw-r--r-- | src/modules/m_haproxy.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_haproxy.cpp b/src/modules/m_haproxy.cpp index 3bb78ef7a..03c2a4745 100644 --- a/src/modules/m_haproxy.cpp +++ b/src/modules/m_haproxy.cpp @@ -272,7 +272,7 @@ class HAProxyHook : public IOHookMiddle break; } - if (!sock->OnSetEndPoint(server, client)) + if (!sock->OnSetLocalEndPoint(server) || !sock->OnSetRemoteEndPoint(client)) return -1; // Parse any available TLVs. |
