-
Notifications
You must be signed in to change notification settings - Fork 287
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
Fix Fivemerr bug and Tweets on Linux hosts bug #401
base: main
Are you sure you want to change the base?
Conversation
…o improved a few of the if conditions
I think both the Webhook and the API token were in the server.lua because of security reason. Since the config.lua is shared, then it can be access by the client, and with some not authorised FiveM modifications I think they can get it. On the other hand, being in the s we server it cannot be access by anyone. |
Yeah those variables are sensitive and should be server-side only. |
Updated. Not much to this change anymore but I still think it fixes a tiny bug. |
Pushed an additional change to switch to using the native shared Round function and to remove the local function. |
…ime works for me in the on linux so I think this is a proper fix.
Description
I think the config.lua should be the only place config parameters are being set. I moved the WebHook and FivemerrApiToken definitions to config.lua and also improved a few of the if conditions.
Checklist