Software /
code /
verse
Diff
plugins/legacy.lua @ 380:0891b4e27766
Discard trailing whitespace
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Fri, 01 May 2015 23:27:29 +0200 |
parent | 250:a5ac643a7fd6 |
child | 381:65533afab352 |
line wrap: on
line diff
--- a/plugins/legacy.lua Fri May 01 21:46:24 2015 +0200 +++ b/plugins/legacy.lua Fri May 01 23:27:29 2015 +0200 @@ -51,14 +51,14 @@ end end); end - + function handle_opened(attr) if not attr.version then stream:send_iq(verse.iq({type="get"}) :tag("query", { xmlns = "jabber:iq:auth" }) :tag("username"):text(stream.username), handle_auth_form); - + end end stream:hook("opened", handle_opened);