aboutsummaryrefslogtreecommitdiff
path: root/src/modules/m_restrictmsg.cpp
diff options
context:
space:
mode:
authorGravatar Sadie Powell2021-01-30 14:19:23 +0000
committerGravatar Sadie Powell2021-01-30 14:20:25 +0000
commite8514f7149bbf81bc394a7a12c54d11dda3da290 (patch)
tree9ec482e863b51f5148eee3b0545ca8cfcce8a1bc /src/modules/m_restrictmsg.cpp
parentRename <uline> to <service>. (diff)
Replace all internal references to uline with services.
Diffstat (limited to 'src/modules/m_restrictmsg.cpp')
-rw-r--r--src/modules/m_restrictmsg.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/m_restrictmsg.cpp b/src/modules/m_restrictmsg.cpp
index ffa9a057d..f64419012 100644
--- a/src/modules/m_restrictmsg.cpp
+++ b/src/modules/m_restrictmsg.cpp
@@ -40,9 +40,9 @@ class ModuleRestrictMsg
// message allowed if:
// (1) the sender is opered
// (2) the recipient is opered
- // (3) the recipient is on a ulined server
+ // (3) the recipient is on a services server
// anything else, blocked.
- if (u->IsOper() || user->IsOper() || u->server->IsULine())
+ if (u->IsOper() || user->IsOper() || u->server->IsService())
return MOD_RES_PASSTHRU;
user->WriteNumeric(Numerics::CannotSendTo(u, "You cannot send messages to this user."));