Thu, 20 May 2010 14:34:22 +0100
Fire started event at the end of startup routine
init.lua | file | annotate | diff | comparison | revisions |
--- a/init.lua Thu May 20 14:33:41 2010 +0100 +++ b/init.lua Thu May 20 14:34:22 2010 +0100 @@ -16,7 +16,6 @@ -- self.conn is ready for stanzas function riddim_mt:start() - self:event("started"); self.stream:hook("stanza", function (stanza) local body = stanza:get_child("body"); local event = { @@ -49,6 +48,7 @@ end return ret; end, 1); + self:event("started"); end function riddim_mt:send(s)