aboutsummaryrefslogtreecommitdiff
path: root/src/streamsocket.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/streamsocket.cpp')
-rw-r--r--src/streamsocket.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/streamsocket.cpp b/src/streamsocket.cpp
index 616e507a2..46b210160 100644
--- a/src/streamsocket.cpp
+++ b/src/streamsocket.cpp
@@ -489,7 +489,7 @@ IOHook* StreamSocket::GetModHook(Module* mod) const
{
for (IOHook* curr = GetIOHook(); curr; curr = GetNextHook(curr))
{
- if (curr->prov->creator == mod)
+ if (curr->prov->service_creator == mod)
return curr;
}
return nullptr;