diff options
author | Waqas Hussain <waqas20@gmail.com> | 2009-07-26 17:29:56 +0500 |
---|---|---|
committer | Waqas Hussain <waqas20@gmail.com> | 2009-07-26 17:29:56 +0500 |
commit | b46f068a8718dca8ec85643a9dfbca665e9f617b (patch) | |
tree | cee49e10bfa044eeece49f760b5af812a121b43c /tools | |
parent | 9e6182bb1119b364f07aec269a7d99f8086328a5 (diff) | |
download | prosody-b46f068a8718dca8ec85643a9dfbca665e9f617b.tar.gz prosody-b46f068a8718dca8ec85643a9dfbca665e9f617b.zip |
ejabberdsql2prosody: Added support for the escape sequence '\\' in strings
Diffstat (limited to 'tools')
-rw-r--r-- | tools/ejabberdsql2prosody.lua | 1 |
1 files changed, 1 insertions, 0 deletions
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() |