aboutsummaryrefslogtreecommitdiff
path: root/src/cull.cpp
diff options
context:
space:
mode:
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();