From e8514f7149bbf81bc394a7a12c54d11dda3da290 Mon Sep 17 00:00:00 2001 From: Sadie Powell Date: Sat, 30 Jan 2021 14:19:23 +0000 Subject: Replace all internal references to uline with services. --- src/modules/m_remove.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/modules/m_remove.cpp') diff --git a/src/modules/m_remove.cpp b/src/modules/m_remove.cpp index 23bd7bf3e..789865a7c 100644 --- a/src/modules/m_remove.cpp +++ b/src/modules/m_remove.cpp @@ -98,7 +98,7 @@ class RemoveBase : public Command return CmdResult::FAILURE; } - if (target->server->IsULine()) + if (target->server->IsService()) { user->WriteNumeric(ERR_CHANOPRIVSNEEDED, channame, "Only a U-line may remove a U-line from a channel."); return CmdResult::FAILURE; @@ -109,7 +109,7 @@ class RemoveBase : public Command { /* We'll let everyone remove their level and below, eg: * ops can remove ops, halfops, voices, and those with no mode (no moders actually are set to 1) - a ulined target will get a higher level than it's possible for a /remover to get..so they're safe. + a services target will get a higher level than it's possible for a /remover to get..so they're safe. * Nobody may remove people with >= protectedrank rank. */ unsigned int ulevel = channel->GetPrefixValue(user); -- cgit v1.3.1-10-gc9f91