aboutsummaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2017-01-09 10:17:09 +0100
committerKim Alvefur <zash@zash.se>2017-01-09 10:17:09 +0100
commitd3f66c0848559e7f019aa50617052a0030f2df65 (patch)
tree47ae526ac7d53d358644e661c71c3860a2ae6178 /tools
parentutil-src: Make C modules assert that the Lua runtime matches what it was compiled for (diff)
downloadprosody-d3f66c0848559e7f019aa50617052a0030f2df65.tar.xz
prosody-d3f66c0848559e7f019aa50617052a0030f2df65.zip
tools/erlparse: Remove use of deprecated module() function
Diffstat (limited to 'tools')
-rw-r--r--tools/erlparse.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/erlparse.lua b/tools/erlparse.lua
index 25c38bcf4..45bed265d 100644
--- a/tools/erlparse.lua
+++ b/tools/erlparse.lua
@@ -189,9 +189,9 @@ local function readFile(filename)
end;
end
-module "erlparse"
+local _M = {};
-function parseFile(file)
+function _M.parseFile(file)
return readFile(file);
end