diff options
| author | 2012-05-15 01:51:43 -0500 | |
|---|---|---|
| committer | 2012-05-15 01:51:43 -0500 | |
| commit | e4f9a63ecda239f4c53762d102360007751bcaed (patch) | |
| tree | b2442c81f753141fc62f7c95224a497b335713bb /src/modules/m_mlock.cpp | |
| parent | mlock: handle case where no mlock has been set on a channel yet (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; |
