summaryrefslogtreecommitdiff
path: root/src/modules/m_restrictmsg.cpp
diff options
context:
space:
mode:
authorAttila Molnar <attilamolnar@hush.com>2015-05-10 19:20:06 +0200
committerAttila Molnar <attilamolnar@hush.com>2015-05-10 19:20:06 +0200
commit6fe1f4e1136f2ab95a88e68af1894bf6002d03f4 (patch)
tree629087a858ee07070ff7c1d957ff500c7ca10398 /src/modules/m_restrictmsg.cpp
parent4711113dff7fc33c96f95f417f2813f28c690e01 (diff)
parent819d9bade20c5f6f2ea688e337be4844183f4528 (diff)
Merge insp20
Diffstat (limited to 'src/modules/m_restrictmsg.cpp')
-rw-r--r--src/modules/m_restrictmsg.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/modules/m_restrictmsg.cpp b/src/modules/m_restrictmsg.cpp
index e0887e587..279775d48 100644
--- a/src/modules/m_restrictmsg.cpp
+++ b/src/modules/m_restrictmsg.cpp
@@ -33,8 +33,9 @@ class ModuleRestrictMsg : public Module
// message allowed if:
// (1) the sender is opered
// (2) the recipient is opered
+ // (3) the recipient is on a ulined server
// anything else, blocked.
- if (u->IsOper() || user->IsOper())
+ if (u->IsOper() || user->IsOper() || u->server->IsULine())
{
return MOD_RES_PASSTHRU;
}