From e84bf9f3ec5a60078c32b272d3d7885c0708c544 Mon Sep 17 00:00:00 2001 From: brain Date: Fri, 11 Aug 2006 12:26:07 +0000 Subject: Change to using Instance->Log (InspIRCd::Log) rather than log() macro git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4880 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/modules/m_remove.cpp | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'src/modules/m_remove.cpp') diff --git a/src/modules/m_remove.cpp b/src/modules/m_remove.cpp index e4b149df2..492cd5bd0 100644 --- a/src/modules/m_remove.cpp +++ b/src/modules/m_remove.cpp @@ -111,44 +111,44 @@ class RemoveBase if (is_uline(user->server) || is_uline(user->nick)) { - log(DEBUG, "Setting ulevel to U"); + ServerInstance->Log(DEBUG, "Setting ulevel to U"); ulevel = chartolevel("U"); } if (user->GetExt(founderkey)) { - log(DEBUG, "Setting ulevel to ~"); + ServerInstance->Log(DEBUG, "Setting ulevel to ~"); ulevel = chartolevel("~"); } else if (user->GetExt(protectkey)) { - log(DEBUG, "Setting ulevel to &"); + ServerInstance->Log(DEBUG, "Setting ulevel to &"); ulevel = chartolevel("&"); } else { - log(DEBUG, "Setting ulevel to %s", channel->GetStatusChar(user)); + ServerInstance->Log(DEBUG, "Setting ulevel to %s", channel->GetStatusChar(user)); ulevel = chartolevel(channel->GetStatusChar(user)); } /* Now it's the same idea, except for the target. If they're ulined make sure they get a higher level than the sender can */ if (is_uline(target->server) || is_uline(target->nick)) { - log(DEBUG, "Setting tlevel to U"); + ServerInstance->Log(DEBUG, "Setting tlevel to U"); tlevel = chartolevel("U"); } else if (target->GetExt(founderkey)) { - log(DEBUG, "Setting tlevel to ~"); + ServerInstance->Log(DEBUG, "Setting tlevel to ~"); tlevel = chartolevel("~"); } else if (target->GetExt(protectkey)) { - log(DEBUG, "Setting tlevel to &"); + ServerInstance->Log(DEBUG, "Setting tlevel to &"); tlevel = chartolevel("&"); } else { - log(DEBUG, "Setting tlevel to %s", channel->GetStatusChar(target)); + ServerInstance->Log(DEBUG, "Setting tlevel to %s", channel->GetStatusChar(target)); tlevel = chartolevel(channel->GetStatusChar(target)); } -- cgit v1.3.1-10-gc9f91