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.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/m_remove.cpp b/src/modules/m_remove.cpp
index 18bddd015..8e26f6ead 100644
--- a/src/modules/m_remove.cpp
+++ b/src/modules/m_remove.cpp
@@ -109,7 +109,7 @@ class RemoveBase
protectkey = "cm_protect_" + std::string(channel->name);
founderkey = "cm_founder_" + std::string(channel->name);
- if (ServerInstance->is_uline(user->server) || ServerInstance->is_uline(user->nick))
+ if (ServerInstance->ULine(user->server) || ServerInstance->ULine(user->nick))
{
ServerInstance->Log(DEBUG, "Setting ulevel to U");
ulevel = chartolevel("U");
@@ -131,7 +131,7 @@ class RemoveBase
}
/* 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->is_uline(target->server) || ServerInstance->is_uline(target->nick))
+ if (ServerInstance->ULine(target->server) || ServerInstance->ULine(target->nick))
{
ServerInstance->Log(DEBUG, "Setting tlevel to U");
tlevel = chartolevel("U");