mod_muc/muc.lib: Don't add messages without a body (such as chat state notifications...
[prosody.git] / core / s2smanager.lua
index a6e39705f8e1fd241a458589a34a1ede87d0a3fb..5777cb8ef16b48a1ed34be63866ed004e4bfaa78 100644 (file)
@@ -38,7 +38,7 @@ function new_incoming(conn)
        return session;
 end
 
-function new_outgoing(from_host, to_host, connect)
+function new_outgoing(from_host, to_host)
        local host_session = { to_host = to_host, from_host = from_host, host = from_host,
                               notopen = true, type = "s2sout_unauthed", direction = "outgoing" };
        hosts[from_host].s2sout[to_host] = host_session;