summaryrefslogtreecommitdiffstats
path: root/lua/mvc.lua
diff options
context:
space:
mode:
Diffstat (limited to 'lua/mvc.lua')
-rwxr-xr-xlua/mvc.lua3
1 files changed, 2 insertions, 1 deletions
diff --git a/lua/mvc.lua b/lua/mvc.lua
index ca48be6..eff7050 100755
--- a/lua/mvc.lua
+++ b/lua/mvc.lua
@@ -7,6 +7,7 @@
module(..., package.seeall)
require("posix")
+format = require("acf.format")
mvc = {}
@@ -428,7 +429,7 @@ end
_G.cfe = cfe
logevent = function ( ... )
- os.execute ( "logger \"ACF: " .. (... or "") .. "\"" )
+ os.execute ( "logger \"ACF: " .. format.escapespecialcharacters(...) .. "\"" )
end
handle_clientdata = function(form, clientdata)