tools/ejabberd2prosody: Disable generating a config, as the format it generates is...
authorWaqas Hussain <waqas20@gmail.com>
Sat, 18 Jan 2014 22:26:02 +0000 (17:26 -0500)
committerWaqas Hussain <waqas20@gmail.com>
Sat, 18 Jan 2014 22:26:02 +0000 (17:26 -0500)
tools/ejabberd2prosody.lua

index 8312ebd1879a223cbc8349a0b3da90bdfe8cff34..bc916fb874eba3625158b5f1c5615b4d9cc4789f 100755 (executable)
@@ -247,7 +247,7 @@ local filters = {
                end
                muc_room(tuple[2][1], tuple[2][2], properties);
        end;
-       config = function(tuple)
+       --[=[config = function(tuple)
                if tuple[2] == "hosts" then
                        local output = io.output(); io.output("prosody.cfg.lua");
                        io.write("-- Configuration imported from ejabberd --\n");
@@ -275,7 +275,7 @@ local filters = {
                        io.output(output);
                        print("prosody.cfg.lua created");
                end
-       end;
+       end;]=]
 };
 
 local arg = ...;