mirror of
https://github.com/matrix-construct/construct
synced 2024-11-29 10:12:39 +01:00
MODE: allow 'q' banlist queries to bypass flood limits too
This commit is contained in:
parent
0950390c77
commit
c7b2fd3d66
1 changed files with 1 additions and 1 deletions
|
@ -140,7 +140,7 @@ m_mode(struct Client *client_p, struct Client *source_p, int parc, const char *p
|
|||
/* Finish the flood grace period... */
|
||||
if(MyClient(source_p) && !IsFloodDone(source_p))
|
||||
{
|
||||
if(!((parc == 3) && (parv[2][0] == 'b') && (parv[2][1] == '\0')))
|
||||
if(!((parc == 3) && (parv[2][0] == 'b' || parv[2][0] == 'q') && (parv[2][1] == '\0')))
|
||||
flood_endgrace(source_p);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue