Comparison

plugins/mod_roster.lua @ 1668:a276d379e00a

Removing tabs at the end of a line.
author Tobias Markmann <tm@ayena.de>
date Wed, 12 Aug 2009 20:03:58 +0200
parent 1523:841d61be198f
child 2227:1888368c58c5
comparison
equal deleted inserted replaced
1667:c7bb2264e3b8 1668:a276d379e00a
22 22
23 module:add_feature("jabber:iq:roster"); 23 module:add_feature("jabber:iq:roster");
24 24
25 local rosterver_stream_feature = st.stanza("ver", {xmlns="urn:xmpp:features:rosterver"}):tag("optional"):up(); 25 local rosterver_stream_feature = st.stanza("ver", {xmlns="urn:xmpp:features:rosterver"}):tag("optional"):up();
26 module:add_event_hook("stream-features", 26 module:add_event_hook("stream-features",
27 function (session, features) 27 function (session, features)
28 if session.username then 28 if session.username then
29 features:add_child(rosterver_stream_feature); 29 features:add_child(rosterver_stream_feature);
30 end 30 end
31 end); 31 end);
32 32