variable renamed

This commit is contained in:
Linventif 2023-12-18 00:26:20 +01:00
parent 01bb974d60
commit 9ffd748c99
3 changed files with 3 additions and 3 deletions

View File

@ -39,7 +39,7 @@ local possibleConfig = {
["onEditDelay"] = 0.5, ["onEditDelay"] = 0.5,
["category"] = "Authentication" ["category"] = "Authentication"
}, },
["logs"] = { ["sendLog"] = {
["label"] = "Logs", ["label"] = "Logs",
["description"] = "Activate or deactivate logs.", ["description"] = "Activate or deactivate logs.",
["type"] = "checkbox", ["type"] = "checkbox",

View File

@ -52,7 +52,7 @@ local function logFormatPlayer(ply, data)
end end
local function logDisable() local function logDisable()
return gmInte.config.disableLog return !gmInte.config.sendLog
end end
// //

View File

@ -95,4 +95,4 @@ gmInte.config.filterOnBan = true // If true, the addon will filter the players a
// //
// Will disable the features of the addon // Will disable the features of the addon
gmInte.config.disableLog = false // Disable the logs gmInte.config.sendLog = false // Disable the logs