summaryrefslogtreecommitdiffstats
path: root/rrdtool-model.lua
diff options
context:
space:
mode:
authorTed Trask <ttrask01@yahoo.com>2013-10-09 21:11:52 +0000
committerTed Trask <ttrask01@yahoo.com>2013-10-09 21:11:52 +0000
commit0dd8a81c88b4f64092e0e196150c08846929d51c (patch)
treeba8e30b191f95656ade32f92acfbaa7b953a41fc /rrdtool-model.lua
parentfdaabc7081521eb96cd9c6b2a9585045b94289f6 (diff)
downloadacf-rrdtool-0dd8a81c88b4f64092e0e196150c08846929d51c.tar.bz2
acf-rrdtool-0dd8a81c88b4f64092e0e196150c08846929d51c.tar.xz
Change use of require to work with Lua 5.2
Diffstat (limited to 'rrdtool-model.lua')
-rw-r--r--rrdtool-model.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/rrdtool-model.lua b/rrdtool-model.lua
index 2a52102..7b3895a 100644
--- a/rrdtool-model.lua
+++ b/rrdtool-model.lua
@@ -1,8 +1,8 @@
module(..., package.seeall)
-- Load libraries
-require("modelfunctions")
-require("posix")
+modelfunctions = require("modelfunctions")
+posix = require("posix")
fs = require("acf.fs")
format = require("acf.format")
date = require("acf.date")