• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

Fixed Flood Multiplier for Discourages Users not working

tajhay

Well-known member
#1
Hi,
We have enabled the flood multiplier on a sample discouraged user (tried different values 10/50/100), and the seconds between messages has been set at 30. However the user is still able to post every 30 seconds.

Anyone else having this issue?

The usergroup that the user is on also does NOT have the 'overide flood' feature to be active.
 

Jake Bunce

XenForo moderator
Staff member
#2
Confirmed in 1.1.2

Code fix for devs:

XenForo_ControllerPublic_Abstract

Replace:

Code:
		// increase flood check time
		if ($options->discourageFloodMultiplier > 1)
		{
			$options->set('floodCheckTime', $options->floodCheckTime * $options->discourageFloodMultiplier);
		}
With:

Code:
		// increase flood check time
		if ($options->discourageFloodMultiplier > 1)
		{
			$options->set('floodCheckLength', $options->floodCheckLength * $options->discourageFloodMultiplier);
		}