X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=win%2Finspircd_namedpipe.cpp;h=93d7c423a1cbeb7690bebbf8674b7e9d23e72fd4;hb=7b08be5752bb91d495f324f97b346976d669ad90;hp=bd2daf53ec90cfc9dfa4c2f108021e349ad083dc;hpb=b844b70a0f66f0203d630a5a95bf2e885bf5d106;p=user%2Fhenk%2Fcode%2Finspircd.git diff --git a/win/inspircd_namedpipe.cpp b/win/inspircd_namedpipe.cpp index bd2daf53e..93d7c423a 100644 --- a/win/inspircd_namedpipe.cpp +++ b/win/inspircd_namedpipe.cpp @@ -131,7 +131,7 @@ IPC::IPC(InspIRCd* Srv) : ServerInstance(Srv) { /* The IPC pipe is threaded */ thread = new IPCThread(Srv); - Srv->Threads->Create(thread); + Srv->Threads->Start(thread); } void IPC::Check() @@ -165,7 +165,7 @@ void IPC::Check() /* Toggle debug */ thread->SetResult(0); thread->ClearStatus(); - Config->forcedebug = !Config->forcedebug; + ServerInstance->Config->forcedebug = !ServerInstance->Config->forcedebug; break; } }