diff options
author | Sadie Powell <sadie@witchery.services> | 2021-06-01 09:19:51 +0100 |
---|---|---|
committer | Sadie Powell <sadie@witchery.services> | 2021-06-01 09:19:51 +0100 |
commit | fe41ae3e8194d531e6e7427ec30d3fb58871498c (patch) | |
tree | 703bfdb11af148b225dbbc3a4c82a28593a2397f | |
parent | 70aa5434fb7dbed3048837701c017ee5a6d93a5a (diff) |
Look up the SSL I/O hook properly in spanningtree.
Fixes a regression introduced in commit 83bb6951fe.
-rw-r--r-- | src/modules/m_spanningtree/treesocket1.cpp | 2 |
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); |