mirror of
https://github.com/inspircd/inspircd.git
synced 2025-03-10 02:59:01 -04:00
Look up the SSL I/O hook properly in spanningtree.
Fixes a regression introduced in commit 83bb6951fe.
This commit is contained in:
parent
70aa5434fb
commit
fe41ae3e81
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user