# HG changeset patch # User Kim Alvefur # Date 1445995613 -3600 # Node ID 0ce9c9a0c2a0c3bc711b9d138b224ea1525583f4 # Parent 69c329681c3b590224e2a6561ceabb3a63bff037 scansion.objects.client: Expose a 'host' property with the bare hostname diff -r 69c329681c3b -r 0ce9c9a0c2a0 scansion/objects/client.lua --- a/scansion/objects/client.lua Wed Oct 28 02:26:15 2015 +0100 +++ b/scansion/objects/client.lua Wed Oct 28 02:26:53 2015 +0100 @@ -57,6 +57,7 @@ client.stream:connect_client(client.jid, client.password); wait(); client.full_jid = client.stream.jid; + client.host = client.stream.host; end; sends = function (client, data)