summaryrefslogtreecommitdiff
path: root/src/modules/m_spanningtree
diff options
context:
space:
mode:
authorSadie Powell <sadie@witchery.services>2021-06-01 09:19:51 +0100
committerSadie Powell <sadie@witchery.services>2021-06-01 09:19:51 +0100
commitfe41ae3e8194d531e6e7427ec30d3fb58871498c (patch)
tree703bfdb11af148b225dbbc3a4c82a28593a2397f /src/modules/m_spanningtree
parent70aa5434fb7dbed3048837701c017ee5a6d93a5a (diff)
Look up the SSL I/O hook properly in spanningtree.
Fixes a regression introduced in commit 83bb6951fe.
Diffstat (limited to 'src/modules/m_spanningtree')
-rw-r--r--src/modules/m_spanningtree/treesocket1.cpp2
1 files changed, 1 insertions, 1 deletions
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);