summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTed Trask <ttrask01@yahoo.com>2013-10-09 20:20:45 +0000
committerTed Trask <ttrask01@yahoo.com>2013-10-09 20:20:45 +0000
commitb08c9a69a29ff3500fc46fb6cdaddf1eda40c011 (patch)
tree898f35ca20459f827ac84a255023a1bd4fef4e5d
parent47b1c8e21609b21c92e66d7bcabb5cae93e7b72a (diff)
downloadacf-amavisd-new-b08c9a69a29ff3500fc46fb6cdaddf1eda40c011.tar.bz2
acf-amavisd-new-b08c9a69a29ff3500fc46fb6cdaddf1eda40c011.tar.xz
Change use of require to work with Lua 5.2
-rw-r--r--amavis-model.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/amavis-model.lua b/amavis-model.lua
index 65e1b4f..f35ed9a 100644
--- a/amavis-model.lua
+++ b/amavis-model.lua
@@ -1,7 +1,7 @@
module(..., package.seeall)
-- Load libraries
-require("modelfunctions")
+modelfunctions = require("modelfunctions")
-- Set variables
local configfile = "/etc/amavisd.conf"