Wed, 28 Oct 2015 02:26:53 +0100
scansion.objects.client: Expose a 'host' property with the bare hostname
scansion/objects/client.lua | file | annotate | diff | comparison | revisions |
--- 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)