diff options
| author | 2019-01-14 05:48:45 -0600 | |
|---|---|---|
| committer | 2019-01-14 11:48:45 +0000 | |
| commit | f400d5f394a258dee58fb56420acd65e22503761 (patch) | |
| tree | eaf405f6da42adad8e92535e0f9b3b72b275ab3e /src/modules/m_haproxy.cpp | |
| parent | Allow wildcards in <connect:dnsbl> (diff) | |
Redo OnSetEndPoint logic to fix duplicate clones (#1549).
Diffstat (limited to 'src/modules/m_haproxy.cpp')
| -rw-r--r-- | src/modules/m_haproxy.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/modules/m_haproxy.cpp b/src/modules/m_haproxy.cpp index f61a39fdd..ee9079cbf 100644 --- a/src/modules/m_haproxy.cpp +++ b/src/modules/m_haproxy.cpp @@ -261,7 +261,8 @@ class HAProxyHook : public IOHookMiddle break; } - sock->OnSetEndPoint(server, client); + if (!sock->OnSetEndPoint(server, client)) + return -1; // Parse any available TLVs. while (tlv_index < address_length) |
