diff options
Diffstat (limited to 'src/debug.cpp')
-rw-r--r-- | src/debug.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/debug.cpp b/src/debug.cpp index 965ed5d1b..3cdb6aaae 100644 --- a/src/debug.cpp +++ b/src/debug.cpp @@ -94,7 +94,9 @@ static void debug_print(const char *dbg, const char *buf) #else fprintf(stderr, "%sdbg: [%s] %s\n", GetLogPrefix(), dbg, buf); #endif +#ifdef ENABLE_NETWORK NetworkAdminConsole(dbg, buf); +#endif /* ENABLE_NETWORK */ IConsoleDebug(dbg, buf); } else { static FILE *f = FioFOpenFile("commands-out.log", "wb", AUTOSAVE_DIR); |