diff options
author | Attila Molnar <attilamolnar@hush.com> | 2015-05-10 19:20:06 +0200 |
---|---|---|
committer | Attila Molnar <attilamolnar@hush.com> | 2015-05-10 19:20:06 +0200 |
commit | 6fe1f4e1136f2ab95a88e68af1894bf6002d03f4 (patch) | |
tree | 629087a858ee07070ff7c1d957ff500c7ca10398 /src/modules/m_restrictmsg.cpp | |
parent | 4711113dff7fc33c96f95f417f2813f28c690e01 (diff) | |
parent | 819d9bade20c5f6f2ea688e337be4844183f4528 (diff) |
Merge insp20
Diffstat (limited to 'src/modules/m_restrictmsg.cpp')
-rw-r--r-- | src/modules/m_restrictmsg.cpp | 3 |
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; } |