aboutsummaryrefslogtreecommitdiff
path: root/src/cull.cpp
diff options
context:
space:
mode:
authorGravatar Sadie Powell2022-05-17 16:47:21 +0100
committerGravatar Sadie Powell2022-05-17 16:47:21 +0100
commite93f3889d2b093ef2d31dc7ee7070c9275ebd4c1 (patch)
treeff3a32c7c15fc017a618deb94a320615f5378884 /src/cull.cpp
parentReload isupport in the next main loop iteration. (diff)
Print the typeid of a doubly culled type in CullList::Apply().
Diffstat (limited to 'src/cull.cpp')
-rw-r--r--src/cull.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/cull.cpp b/src/cull.cpp
index 4990aaf62..c9ed4e474 100644
--- a/src/cull.cpp
+++ b/src/cull.cpp
@@ -96,8 +96,13 @@ void CullList::Apply()
}
else
{
+#ifdef INSPIRCD_ENABLE_RTTI
+ ServerInstance->Logs.Debug("CULLLIST", "WARNING: Object %s @%p culled twice!",
+ typeid(*c).name(), static_cast<void*>(c));
+#else
ServerInstance->Logs.Debug("CULLLIST", "WARNING: Object @%p culled twice!",
static_cast<void*>(c));
+#endif
}
}
list.clear();