diff options
Diffstat (limited to 'lua/mvc.lua')
-rwxr-xr-x | lua/mvc.lua | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lua/mvc.lua b/lua/mvc.lua index eff7050..e66c95a 100755 --- a/lua/mvc.lua +++ b/lua/mvc.lua @@ -428,8 +428,9 @@ cfe = function ( optiontable ) end _G.cfe = cfe -logevent = function ( ... ) - os.execute ( "logger \"ACF: " .. format.escapespecialcharacters(...) .. "\"" ) +logevent = function ( message ) + os.execute ( "logger \"ACF: " .. string.gsub(message or "", "[`\\\"]", "\\%1") .. "\"" ) + end handle_clientdata = function(form, clientdata) |