Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chatbox plugin - wrong message with float protection enabled #4895

Closed
Jimmi08 opened this issue Oct 27, 2022 · 0 comments · Fixed by #4896
Closed

chatbox plugin - wrong message with float protection enabled #4895

Jimmi08 opened this issue Oct 27, 2022 · 0 comments · Fixed by #4896
Labels
type: bug A problem that should not be happening

Comments

@Jimmi08
Copy link
Contributor

Jimmi08 commented Oct 27, 2022

Bug Description

Message is always
You may only post once every 1 second
but float time is not 1 s.

How to Reproduce

The reason - wrong constant

$emessage = $tp->lanVars(CHATBOX_L19, FLOODPROTECT ?: 'n/a');

it should be

$emessage = $tp->lanVars(CHATBOX_L19, FLOODTIMEOUT ?: 'n/a');

@Jimmi08 Jimmi08 added the type: bug A problem that should not be happening label Oct 27, 2022
CaMer0n added a commit that referenced this issue Oct 29, 2022
Fixes #4895 - incorrect message within chatbox plugin
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: bug A problem that should not be happening
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant