From 36937eab9edec0ff81c7b852cbb22270f8e6f71e Mon Sep 17 00:00:00 2001 From: Sadie Powell Date: Thu, 8 Jun 2023 17:39:10 +0100 Subject: Log the number of object added to the cull list from a destructor. --- src/cull.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/cull.cpp') diff --git a/src/cull.cpp b/src/cull.cpp index d5eff6db3..beae5494b 100644 --- a/src/cull.cpp +++ b/src/cull.cpp @@ -109,7 +109,7 @@ void CullList::Apply() if (!list.empty()) { - ServerInstance->Logs.Debug("CULLLIST", "WARNING: Objects added to cull list in a destructor"); + ServerInstance->Logs.Debug("CULLLIST", "WARNING: %zu objects added to the cull list from a destructor", list.size()); Apply(); } } -- cgit v1.3.1-10-gc9f91