From b46f068a8718dca8ec85643a9dfbca665e9f617b Mon Sep 17 00:00:00 2001 From: Waqas Hussain Date: Sun, 26 Jul 2009 17:29:56 +0500 Subject: ejabberdsql2prosody: Added support for the escape sequence '\\' in strings --- tools/ejabberdsql2prosody.lua | 1 + 1 file changed, 1 insertion(+) (limited to 'tools') diff --git a/tools/ejabberdsql2prosody.lua b/tools/ejabberdsql2prosody.lua index 861ef141..2943103f 100644 --- a/tools/ejabberdsql2prosody.lua +++ b/tools/ejabberdsql2prosody.lua @@ -39,6 +39,7 @@ end local function unescape(s) if s == "\\'" then return "'"; end if s == "\\n" then return "\n"; end + if s == "\\\\" then return "\\"; end error("Unknown escape sequence: "..s); end local function readString() -- cgit v1.2.3