mirror of
https://github.com/inspircd/inspircd.git
synced 2025-03-10 02:59:01 -04:00
mlock: we should only enforce against modes set by our own clients
This commit is contained in:
parent
772f45f9d4
commit
9ceb6cc779
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user