diff options
author | William Pitcock <nenolod@dereferenced.org> | 2012-05-15 01:51:43 -0500 |
---|---|---|
committer | William Pitcock <nenolod@dereferenced.org> | 2012-05-15 01:51:43 -0500 |
commit | e4f9a63ecda239f4c53762d102360007751bcaed (patch) | |
tree | b2442c81f753141fc62f7c95224a497b335713bb /src/modules/m_mlock.cpp | |
parent | 663f0620bea4dc1e64ec640992f4d511ae1ef97b (diff) |
mlock: we should only enforce against modes set by our own clients
Diffstat (limited to 'src/modules/m_mlock.cpp')
-rw-r--r-- | src/modules/m_mlock.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/modules/m_mlock.cpp b/src/modules/m_mlock.cpp index 45ad7453e..9e3c596cc 100644 --- a/src/modules/m_mlock.cpp +++ b/src/modules/m_mlock.cpp @@ -46,6 +46,9 @@ public: if (!channel) return MOD_RES_PASSTHRU; + if (!IS_LOCAL(source)) + return MOD_RES_PASSTHRU; + std::string *mlock_str = mlock.get(channel); if (!mlock_str || mlock_str->empty()) return MOD_RES_PASSTHRU; |