aboutsummaryrefslogtreecommitdiffstats
path: root/src/cull_list.cpp
diff options
context:
space:
mode:
authorGravatar Sadie Powell2019-02-07 12:14:07 +0000
committerGravatar Sadie Powell2019-02-07 12:14:07 +0000
commite862582e7e11a8badb4a92d001a3d53eae2d2401 (patch)
tree264fed5a28c45995c5d296d56622a0d0601de06e /src/cull_list.cpp
parentMerge branch 'insp3' into master. (diff)
downloadinspircd++-e862582e7e11a8badb4a92d001a3d53eae2d2401.tar.gz
inspircd++-e862582e7e11a8badb4a92d001a3d53eae2d2401.tar.bz2
inspircd++-e862582e7e11a8badb4a92d001a3d53eae2d2401.zip
LogManager: remove fakederef.
Diffstat (limited to 'src/cull_list.cpp')
-rw-r--r--src/cull_list.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/cull_list.cpp b/src/cull_list.cpp
index 73f2def51..342f0b77a 100644
--- a/src/cull_list.cpp
+++ b/src/cull_list.cpp
@@ -49,17 +49,17 @@ void CullList::Apply()
if (gone.insert(c).second)
{
#ifdef INSPIRCD_ENABLE_RTTI
- ServerInstance->Logs->Log("CULLLIST", LOG_DEBUG, "Deleting %s @%p", typeid(*c).name(),
+ ServerInstance->Logs.Log("CULLLIST", LOG_DEBUG, "Deleting %s @%p", typeid(*c).name(),
(void*)c);
#else
- ServerInstance->Logs->Log("CULLLIST", LOG_DEBUG, "Deleting @%p", (void*)c);
+ ServerInstance->Logs.Log("CULLLIST", LOG_DEBUG, "Deleting @%p", (void*)c);
#endif
c->cull();
queue.push_back(c);
}
else
{
- ServerInstance->Logs->Log("CULLLIST", LOG_DEBUG, "WARNING: Object @%p culled twice!",
+ ServerInstance->Logs.Log("CULLLIST", LOG_DEBUG, "WARNING: Object @%p culled twice!",
(void*)c);
}
}
@@ -71,7 +71,7 @@ void CullList::Apply()
}
if (list.size())
{
- ServerInstance->Logs->Log("CULLLIST", LOG_DEBUG, "WARNING: Objects added to cull list in a destructor");
+ ServerInstance->Logs.Log("CULLLIST", LOG_DEBUG, "WARNING: Objects added to cull list in a destructor");
Apply();
}
}