X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=win%2Finspircd_namedpipe.cpp;h=76d16037bf721bb51fe1e9286fc2b6fefa2e440d;hb=3151262b41f011e0f5707565461ce46447f12b07;hp=95c0ae5783fc204a41b234d4ad9b6f174906186a;hpb=6d03943426dcce76ba66567a9b18425a5ebb4c0c;p=user%2Fhenk%2Fcode%2Finspircd.git 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()