aboutsummaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
Diffstat (limited to 'core')
-rw-r--r--core/s2smanager.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/core/s2smanager.lua b/core/s2smanager.lua
index c3d9bdb4..dbfc2cb3 100644
--- a/core/s2smanager.lua
+++ b/core/s2smanager.lua
@@ -29,6 +29,7 @@ local srvmap = { ["gmail.com"] = "talk.google.com", ["identi.ca"] = "hampton.con
module "s2smanager"
function send_to_host(from_host, to_host, data)
+ if data.name then data = tostring(data); end
local host = hosts[from_host].s2sout[to_host];
if host then
-- We have a connection to this host already