inspircd

A modular C++ IRC daemon (ircd). https://www.inspircd.org/
Log | Files | Refs | README

commit b8c5df6d1a574ee22d9e1a47e1cd8626cb7a1395
parent 3b67b43f6a4ffbcc2dbc5bbed8abd537b92e9422
Author: Matt Schatz <genius3000@g3k.solutions>
Date:   Wed,  5 Jun 2019 02:01:33 -0600

Fix a compiler warning introduced in d107093. (#1653)


Diffstat:
Msrc/modules/m_haproxy.cpp | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/modules/m_haproxy.cpp b/src/modules/m_haproxy.cpp @@ -365,9 +365,9 @@ class HAProxyHook : public IOHookMiddle public: HAProxyHook(IOHookProvider* Prov, StreamSocket* sock, UserCertificateAPI& api) : IOHookMiddle(Prov) + , address_length(0) , sslapi(api) , state(HPS_WAITING_FOR_HEADER) - , address_length(0) { sock->AddIOHook(this); }