[simple_protection] functions.lua: Change declaration of variable to

local inside function.
master
AntumDeluge 2016-08-31 19:39:29 -07:00
parent 66b7f46815
commit 2c311cab75
1 changed files with 1 additions and 1 deletions

View File

@ -197,7 +197,7 @@ s_protect.load_config = function()
if file then
io.close(file)
-- Load existing config
simple_protection = {}
local simple_protection = {}
dofile(s_protect.conf)
-- Backwards compatibility