summaryrefslogtreecommitdiff
path: root/lualibs-util-tpl.lua
diff options
context:
space:
mode:
authorPhilipp Gesang <phg42.2a@gmail.com>2013-06-09 11:34:33 +0200
committerPhilipp Gesang <phg42.2a@gmail.com>2013-06-09 11:34:33 +0200
commit40cf2319dbf8b2d6796c7941a31795cd2cb55eb3 (patch)
tree3ccabaa43445a099852e45add9fa93574fab59bb /lualibs-util-tpl.lua
parentc0eecc6f6ac9622b498134d8415010b077f4d57d (diff)
downloadlualibs-40cf2319dbf8b2d6796c7941a31795cd2cb55eb3.tar.gz
sync with Context as of 2013-06-09
Diffstat (limited to 'lualibs-util-tpl.lua')
-rw-r--r--lualibs-util-tpl.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/lualibs-util-tpl.lua b/lualibs-util-tpl.lua
index 7a6abef..511076b 100644
--- a/lualibs-util-tpl.lua
+++ b/lualibs-util-tpl.lua
@@ -96,8 +96,8 @@ local quotedescapers = {
end,
}
-lpeg.patterns.sqlescape = sqlescape
-lpeg.patterns.sqlescape = sqlquotedescape
+lpeg.patterns.sqlescape = sqlescape
+lpeg.patterns.sqlquotedescape = sqlquotedescape
local luaescaper = escapers.lua
local quotedluaescaper = quotedescapers.lua