summaryrefslogtreecommitdiffstatshomepage
path: root/plugins/data/data_hiscore.lua
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/data/data_hiscore.lua')
-rw-r--r--plugins/data/data_hiscore.lua4
1 files changed, 1 insertions, 3 deletions
diff --git a/plugins/data/data_hiscore.lua b/plugins/data/data_hiscore.lua
index e6d7d75fdc0..3bf5467fe9e 100644
--- a/plugins/data/data_hiscore.lua
+++ b/plugins/data/data_hiscore.lua
@@ -1,8 +1,6 @@
-- to use this get the package from http://greatstone.free.fr/hi2txt/
-- extract the hi2txt.zip and place it in your history path
-local util = require("util")
-
local dat = {}
local env = {}
local output
@@ -1208,7 +1206,7 @@ function dat.check(set, softlist)
local scrpath = path:match("[^;]*") .. "/"
local scrfile = io.open(scrpath .. set .. ".lua", "w+")
if not scrfile then
- util.mkdir_recursive(scrpath)
+ lfs.mkdir(scrpath)
scrfile = io.open(scrpath .. set .. ".lua", "w+")
end
if scrfile then