From: Attila Molnar Date: Sun, 19 Jan 2014 16:04:11 +0000 (+0100) Subject: m_joinflood Fix remote joins affecting local joinflood state when the channel is... X-Git-Tag: v2.0.23~227 X-Git-Url: https://git.netwichtig.de/gitweb/?a=commitdiff_plain;h=0f91b6173b506332ee5f771f35698f6815a11f6a;p=user%2Fhenk%2Fcode%2Finspircd.git m_joinflood Fix remote joins affecting local joinflood state when the channel is locked Fixes issue #694 reported by @TurkDesk --- diff --git a/src/modules/m_joinflood.cpp b/src/modules/m_joinflood.cpp index 0c68da1fb..40f7f1ba9 100644 --- a/src/modules/m_joinflood.cpp +++ b/src/modules/m_joinflood.cpp @@ -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())