From fe41ae3e8194d531e6e7427ec30d3fb58871498c Mon Sep 17 00:00:00 2001 From: Sadie Powell Date: Tue, 1 Jun 2021 09:19:51 +0100 Subject: Look up the SSL I/O hook properly in spanningtree. Fixes a regression introduced in commit 83bb6951fe. --- src/modules/m_spanningtree/treesocket1.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modules/m_spanningtree/treesocket1.cpp b/src/modules/m_spanningtree/treesocket1.cpp index 27888d74c..db448df36 100644 --- a/src/modules/m_spanningtree/treesocket1.cpp +++ b/src/modules/m_spanningtree/treesocket1.cpp @@ -146,7 +146,7 @@ void TreeSocket::OnConnected() { if (!capab->link->Hook.empty()) { - ServiceProvider* prov = ServerInstance->Modules->FindService(SERVICE_IOHOOK, capab->link->Hook); + ServiceProvider* prov = ServerInstance->Modules->FindService(SERVICE_IOHOOK, "ssl/" + capab->link->Hook); if (!prov) { SetError("Could not find hook '" + capab->link->Hook + "' for connection to " + linkID); -- cgit v1.2.3