diff options
| author | 2022-05-17 16:47:21 +0100 | |
|---|---|---|
| committer | 2022-05-17 16:47:21 +0100 | |
| commit | e93f3889d2b093ef2d31dc7ee7070c9275ebd4c1 (patch) | |
| tree | ff3a32c7c15fc017a618deb94a320615f5378884 /src | |
| parent | Reload isupport in the next main loop iteration. (diff) | |
Print the typeid of a doubly culled type in CullList::Apply().
Diffstat (limited to 'src')
| -rw-r--r-- | src/cull.cpp | 5 |
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(); |
