aboutsummaryrefslogtreecommitdiffstats
path: root/tools/ejabberdsql2prosody.lua
diff options
context:
space:
mode:
Diffstat (limited to 'tools/ejabberdsql2prosody.lua')
-rw-r--r--tools/ejabberdsql2prosody.lua1
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()