diff options
author | Kim Alvefur <zash@zash.se> | 2017-01-09 10:17:09 +0100 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2017-01-09 10:17:09 +0100 |
commit | 9aed5f791f903dd1d5bd997fcb15bcece4c8e9e4 (patch) | |
tree | 47ae526ac7d53d358644e661c71c3860a2ae6178 | |
parent | 5f26a96cc471f320b763f00f4dea785500d7ebb3 (diff) | |
download | prosody-9aed5f791f903dd1d5bd997fcb15bcece4c8e9e4.tar.gz prosody-9aed5f791f903dd1d5bd997fcb15bcece4c8e9e4.zip |
tools/erlparse: Remove use of deprecated module() function
-rw-r--r-- | tools/erlparse.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/erlparse.lua b/tools/erlparse.lua index 25c38bcf..45bed265 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 |