mirror of
https://github.com/inspircd/inspircd.git
synced 2025-03-10 19:19:02 -04:00
m_joinflood Fix remote joins affecting local joinflood state when the channel is locked
Fixes issue #694 reported by @TurkDesk
This commit is contained in:
parent
f75a0d5482
commit
0f91b6173b
@ -231,7 +231,7 @@ class ModuleJoinFlood : public Module
|
||||
joinfloodsettings *f = jf.ext.get(memb->chan);
|
||||
|
||||
/* But all others are OK */
|
||||
if (f)
|
||||
if ((f) && (!f->islocked()))
|
||||
{
|
||||
f->addjoin();
|
||||
if (f->shouldlock())
|
||||
|
Loading…
x
Reference in New Issue
Block a user