aboutsummaryrefslogtreecommitdiff
path: root/src/base.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/base.cpp')
-rw-r--r--src/base.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/base.cpp b/src/base.cpp
index 8749aee8e..12162f7cf 100644
--- a/src/base.cpp
+++ b/src/base.cpp
@@ -30,17 +30,17 @@
classbase::classbase()
{
if (ServerInstance)
- ServerInstance->Logs->Log("CULLLIST", LOG_DEBUG, "classbase::+ @%p", (void*)this);
+ ServerInstance->Logs.Log("CULLLIST", LOG_DEBUG, "classbase::+ @%p", (void*)this);
}
CullResult classbase::cull()
{
if (ServerInstance)
#ifdef INSPIRCD_ENABLE_RTTI
- ServerInstance->Logs->Log("CULLLIST", LOG_DEBUG, "classbase::-%s @%p",
+ ServerInstance->Logs.Log("CULLLIST", LOG_DEBUG, "classbase::-%s @%p",
typeid(*this).name(), (void*)this);
#else
- ServerInstance->Logs->Log("CULLLIST", LOG_DEBUG, "classbase::- @%p", (void*)this);
+ ServerInstance->Logs.Log("CULLLIST", LOG_DEBUG, "classbase::- @%p", (void*)this);
#endif
return CullResult();
}
@@ -48,7 +48,7 @@ CullResult classbase::cull()
classbase::~classbase()
{
if (ServerInstance)
- ServerInstance->Logs->Log("CULLLIST", LOG_DEBUG, "classbase::~ @%p", (void*)this);
+ ServerInstance->Logs.Log("CULLLIST", LOG_DEBUG, "classbase::~ @%p", (void*)this);
}
CullResult::CullResult()
@@ -80,14 +80,14 @@ refcountbase::refcountbase() : refcount(0)
refcountbase::~refcountbase()
{
if (refcount && ServerInstance)
- ServerInstance->Logs->Log("CULLLIST", LOG_DEBUG, "refcountbase::~ @%p with refcount %d",
+ ServerInstance->Logs.Log("CULLLIST", LOG_DEBUG, "refcountbase::~ @%p with refcount %d",
(void*)this, refcount);
}
usecountbase::~usecountbase()
{
if (usecount && ServerInstance)
- ServerInstance->Logs->Log("CULLLIST", LOG_DEBUG, "usecountbase::~ @%p with refcount %d",
+ ServerInstance->Logs.Log("CULLLIST", LOG_DEBUG, "usecountbase::~ @%p with refcount %d",
(void*)this, usecount);
}
@@ -216,7 +216,7 @@ void Extensible::FreeAllExtItems()
Extensible::~Extensible()
{
if ((!extensions.empty() || !culled) && ServerInstance)
- ServerInstance->Logs->Log("CULLLIST", LOG_DEBUG, "Extensible destructor called without cull @%p", (void*)this);
+ ServerInstance->Logs.Log("CULLLIST", LOG_DEBUG, "Extensible destructor called without cull @%p", (void*)this);
}
LocalExtItem::LocalExtItem(const std::string& Key, ExtensibleType exttype, Module* mod)