summaryrefslogtreecommitdiff
path: root/src/modules/m_remove.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/m_remove.cpp')
-rw-r--r--src/modules/m_remove.cpp16
1 files changed, 8 insertions, 8 deletions
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));
}