aboutsummaryrefslogtreecommitdiff
path: root/src/modules/m_remove.cpp
diff options
context:
space:
mode:
authorGravatar brain2007-01-17 21:14:26 +0000
committerGravatar brain2007-01-17 21:14:26 +0000
commit76bf72f8c2c5b1524bf20a523fe1cf0d79d29742 (patch)
treee7f29c14b8d0b6c5ea3e76a3c450eff1446abc0a /src/modules/m_remove.cpp
parentRemove/fix unused variable warning (diff)
Mass comment removal.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6367 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules/m_remove.cpp')
-rw-r--r--src/modules/m_remove.cpp8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/modules/m_remove.cpp b/src/modules/m_remove.cpp
index 16cc8a679..23fee34c3 100644
--- a/src/modules/m_remove.cpp
+++ b/src/modules/m_remove.cpp
@@ -121,44 +121,36 @@ class RemoveBase
if (ServerInstance->ULine(user->server) || ServerInstance->ULine(user->nick))
{
- ServerInstance->Log(DEBUG, "Setting ulevel to U");
ulevel = chartolevel("U");
}
if (user->GetExt(founderkey))
{
- ServerInstance->Log(DEBUG, "Setting ulevel to ~");
ulevel = chartolevel("~");
}
else if (user->GetExt(protectkey))
{
- ServerInstance->Log(DEBUG, "Setting ulevel to &");
ulevel = chartolevel("&");
}
else
{
- ServerInstance->Log(DEBUG, "Setting ulevel to %s", channel->GetPrefixChar(user));
ulevel = chartolevel(channel->GetPrefixChar(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 (ServerInstance->ULine(target->server) || ServerInstance->ULine(target->nick))
{
- ServerInstance->Log(DEBUG, "Setting tlevel to U");
tlevel = chartolevel("U");
}
else if (target->GetExt(founderkey))
{
- ServerInstance->Log(DEBUG, "Setting tlevel to ~");
tlevel = chartolevel("~");
}
else if (target->GetExt(protectkey))
{
- ServerInstance->Log(DEBUG, "Setting tlevel to &");
tlevel = chartolevel("&");
}
else
{
- ServerInstance->Log(DEBUG, "Setting tlevel to %s", channel->GetPrefixChar(target));
tlevel = chartolevel(channel->GetPrefixChar(target));
}