03_STAT_no-clients.diff
[paraslash.git] / stat.c
diff --git a/stat.c b/stat.c
index 0457a0f..3d563d2 100644 (file)
--- a/stat.c
+++ b/stat.c
@@ -125,7 +125,8 @@ void stat_client_write(const char *msg, int itemnum)
                free(sc);
                dump_stat_client_list();
        }
-       PARA_DEBUG_LOG("%d client(s)\n", num_clients);
+       if (num_clients)
+               PARA_DEBUG_LOG("%d client(s)\n", num_clients);
 }
 
 /**