Update rostermanager to use new logger
[prosody.git] / main.lua
index 36afa58eef746a2fae5e292831bd8b8f6f219ea2..a9154d439f5f302d5fe789dc6b263eb595f57d37 100644 (file)
--- a/main.lua
+++ b/main.lua
@@ -17,7 +17,7 @@ hosts = {};
 
 if config.hosts and #config.hosts > 0 then
        for _, host in pairs(config.hosts) do
-               hosts[host] = {type = "local", connected = true, sessions = {}, host = host};
+               hosts[host] = {type = "local", connected = true, sessions = {}, host = host, s2sout = {} };
        end
 else error("No hosts defined in the configuration file"); end