plugins/muc/mod_muc.lua

changeset 3589
1792610e169e
parent 3577
2cc135cba25b
child 3604
3e89f0509967
equal deleted inserted replaced
3588:1e570ed17147 3589:1792610e169e
145 end 145 end
146 else 146 else
147 origin.send(st.error_reply(stanza, "cancel", "not-allowed")); 147 origin.send(st.error_reply(stanza, "cancel", "not-allowed"));
148 end 148 end
149 else --[[not for us?]] end 149 else --[[not for us?]] end
150 return; 150 return true;
151 end 151 end
152 -- to the main muc domain 152 -- to the main muc domain
153 handle_to_domain(origin, stanza); 153 handle_to_domain(origin, stanza);
154 return true;
154 end 155 end
155 module:hook("iq/bare", stanza_handler); 156 module:hook("iq/bare", stanza_handler);
156 module:hook("message/bare", stanza_handler); 157 module:hook("message/bare", stanza_handler);
157 module:hook("presence/bare", stanza_handler); 158 module:hook("presence/bare", stanza_handler);
158 module:hook("iq/full", stanza_handler); 159 module:hook("iq/full", stanza_handler);

mercurial