aboutsummaryrefslogtreecommitdiff
path: root/src/cull.cpp
diff options
context:
space:
mode:
authorGravatar Sadie Powell2023-01-25 04:57:43 +0000
committerGravatar Sadie Powell2023-01-25 05:35:44 +0000
commitc3f0e48166ebb9c389e0d4b4cdc2e85879b35473 (patch)
treecd5a9721f9b331646e6102bb73f4ceb4668b340b /src/cull.cpp
parentMove CheckExemption::Call to CheckExemption::EventProvider. (diff)
Don't log object culls unless built with RTTI.
This is spammy and not very useful without type information.
Diffstat (limited to 'src/cull.cpp')
-rw-r--r--src/cull.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/cull.cpp b/src/cull.cpp
index 2b9ee5665..d5eff6db3 100644
--- a/src/cull.cpp
+++ b/src/cull.cpp
@@ -87,8 +87,6 @@ void CullList::Apply()
#ifdef INSPIRCD_ENABLE_RTTI
ServerInstance->Logs.Debug("CULLLIST", "Deleting {} @{}", typeid(*c).name(),
fmt::ptr(c));
-#else
- ServerInstance->Logs.Debug("CULLLIST", "Deleting @{}", fmt::ptr(c));
#endif
c->Cull();
queue.push_back(c);