diff options
Diffstat (limited to 'win/inspircd_namedpipe.cpp')
-rw-r--r-- | win/inspircd_namedpipe.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/win/inspircd_namedpipe.cpp b/win/inspircd_namedpipe.cpp index a460f41a2..bd2daf53e 100644 --- a/win/inspircd_namedpipe.cpp +++ b/win/inspircd_namedpipe.cpp @@ -161,6 +161,12 @@ void IPC::Check() thread->ClearStatus();
ServerInstance->Restart("Restarting due to command from GUI");
break;
+ case '4':
+ /* Toggle debug */
+ thread->SetResult(0);
+ thread->ClearStatus();
+ Config->forcedebug = !Config->forcedebug;
+ break;
}
}
|