Comparison

plugins/mod_pubsub/mod_pubsub.lua @ 9720:e7ddf70ae417

mod_pubsub: Add semicolon (code style)
author Kim Alvefur <zash@zash.se>
date Sun, 23 Dec 2018 02:50:22 +0100
parent 9597:17d43543f9b6
child 9724:8e6a0e1c1876
comparison
equal deleted inserted replaced
9719:941497cdefc3 9720:e7ddf70ae417
71 71
72 local id = new_id(); 72 local id = new_id();
73 local msg_type = node_obj and node_obj.config.message_type or "headline"; 73 local msg_type = node_obj and node_obj.config.message_type or "headline";
74 local message = st.message({ from = module.host, type = msg_type, id = id }) 74 local message = st.message({ from = module.host, type = msg_type, id = id })
75 :tag("event", { xmlns = xmlns_pubsub_event }) 75 :tag("event", { xmlns = xmlns_pubsub_event })
76 :tag(kind, { node = node }) 76 :tag(kind, { node = node });
77 77
78 if item then 78 if item then
79 message:add_child(item); 79 message:add_child(item);
80 end 80 end
81 81