Fixed the ejabberd importer to work with the pipe sign "|" as a separator in erlang...
[prosody.git] / tools / erlparse.lua
index c4372243273838cc0743a1ffa51fee8b405391fa..3fbb696fc31482130efe4272236ae1620b024eae 100644 (file)
@@ -98,7 +98,7 @@ readItem = function()
                return readString();\r
        elseif ch == "<" then\r
                return readSpecialString();\r
-       elseif isSpace(ch) or ch == "," then\r
+       elseif isSpace(ch) or ch == "," or ch == "|" then\r
                read();\r
                return readItem();\r
        else\r