Fixed Flood Multiplier for Discourages Users not working

tajhay

Well-known member
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.
 
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:

Rich (BB code):
		// increase flood check time
		if ($options->discourageFloodMultiplier > 1)
		{
			$options->set('floodCheckLength', $options->floodCheckLength * $options->discourageFloodMultiplier);
		}
 
Top Bottom