aboutsummaryrefslogtreecommitdiffstats
path: root/tools/erlparse.lua
diff options
context:
space:
mode:
authorWaqas Hussain <waqas20@gmail.com>2008-11-30 02:08:37 +0500
committerWaqas Hussain <waqas20@gmail.com>2008-11-30 02:08:37 +0500
commit48e386d5decd46e79b732ceb643448d2b9659bb4 (patch)
treea2d57d2dfcbaa4620ef3ea82978911f5006ac2e0 /tools/erlparse.lua
parentf5830f6ada6ab5d5f22098ff9988a1929d908c49 (diff)
downloadprosody-48e386d5decd46e79b732ceb643448d2b9659bb4.tar.gz
prosody-48e386d5decd46e79b732ceb643448d2b9659bb4.zip
Fixed the ejabberd importer to work with the pipe sign "|" as a separator in erlang lists
Diffstat (limited to 'tools/erlparse.lua')
-rw-r--r--tools/erlparse.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/erlparse.lua b/tools/erlparse.lua
index c4372243..3fbb696f 100644
--- a/tools/erlparse.lua
+++ b/tools/erlparse.lua
@@ -98,7 +98,7 @@ readItem = function()
return readString();
elseif ch == "<" then
return readSpecialString();
- elseif isSpace(ch) or ch == "," then
+ elseif isSpace(ch) or ch == "," or ch == "|" then
read();
return readItem();
else