summaryrefslogtreecommitdiff
path: root/win/inspircd_namedpipe.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'win/inspircd_namedpipe.cpp')
-rw-r--r--win/inspircd_namedpipe.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/win/inspircd_namedpipe.cpp b/win/inspircd_namedpipe.cpp
index 95c0ae578..76d16037b 100644
--- a/win/inspircd_namedpipe.cpp
+++ b/win/inspircd_namedpipe.cpp
@@ -130,8 +130,8 @@ void IPCThread::SetResult(int newresult)
IPC::IPC()
{
/* The IPC pipe is threaded */
- thread = new IPCThread(Srv);
- Srv->Threads->Start(thread);
+ thread = new IPCThread();
+ ServerInstance->Threads->Start(thread);
}
void IPC::Check()