Mercurial > prosody-modules
comparison mod_pubsub_mqtt/mod_pubsub_mqtt.lua @ 1343:7dbde05b48a9
all the things: Remove trailing whitespace
author | Florian Zeitz <florob@babelmonkeys.de> |
---|---|
date | Tue, 11 Mar 2014 18:44:01 +0100 |
parents | d3579ea5ff33 |
children | 6ba2188e2686 |
comparison
equal
deleted
inserted
replaced
1342:0ae065453dc9 | 1343:7dbde05b48a9 |
---|---|
64 pubsub[node] = node_subs; | 64 pubsub[node] = node_subs; |
65 end | 65 end |
66 session.subscriptions[topic] = true; | 66 session.subscriptions[topic] = true; |
67 node_subs[session] = true; | 67 node_subs[session] = true; |
68 end | 68 end |
69 | 69 |
70 end | 70 end |
71 | 71 |
72 function packet_handlers.pingreq(session, packet) | 72 function packet_handlers.pingreq(session, packet) |
73 session.conn:write(mqtt.serialize_packet{type = "pingresp"}); | 73 session.conn:write(mqtt.serialize_packet{type = "pingresp"}); |
74 end | 74 end |