aboutsummaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2009-11-22 04:53:02 +0000
committerMatthew Wild <mwild1@gmail.com>2009-11-22 04:53:02 +0000
commita1efb7e1423a9ee1e529979b098481fedce9a3a1 (patch)
tree1b97113586c2a80357cf21ed077dfcd15e0cfd8b /core
parent6ff5582acc0198d77b949d98c251cedb033a08be (diff)
downloadprosody-a1efb7e1423a9ee1e529979b098481fedce9a3a1.tar.gz
prosody-a1efb7e1423a9ee1e529979b098481fedce9a3a1.zip
s2smanager: Fix syntax error introduced in merge
Diffstat (limited to 'core')
-rw-r--r--core/s2smanager.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/s2smanager.lua b/core/s2smanager.lua
index fb532a73..e1f70693 100644
--- a/core/s2smanager.lua
+++ b/core/s2smanager.lua
@@ -128,7 +128,7 @@ function new_incoming(conn)
open_sessions = open_sessions + 1;
local w, log = conn.write, logger_init("s2sin"..tostring(conn):match("[a-f0-9]+$"));
session.log = log;
- session.sends2s = function (t) log("debug", "sending: %s", (t.top_tag and t:top_tag()) or t:match("^([^>]*>?)"); w(conn, tostring(t)); end
+ session.sends2s = function (t) log("debug", "sending: %s", t.top_tag and t:top_tag() or t:match("^([^>]*>?)")); w(conn, tostring(t)); end
incoming_s2s[session] = true;
add_task(connect_timeout, function ()
if session.conn ~= conn or