Sat, 19 Sep 2015 21:51:37 +0100
client: Remove stanza handler when stanza comes in
scansion/objects/client.lua | file | annotate | diff | comparison | revisions |
--- a/scansion/objects/client.lua Sat Sep 19 21:51:08 2015 +0100 +++ b/scansion/objects/client.lua Sat Sep 19 21:51:37 2015 +0100 @@ -65,6 +65,7 @@ client.log("YES! %s", expected_stanza) end expected_stanza = nil; + client.stream:unhook("stanza", stanza_handler); done(); end client.stream:hook("stanza", stanza_handler, 100);