Mercurial > prosody-modules
comparison mod_muc_limits/mod_muc_limits.lua @ 1040:6574303a8169
mod_muc_limits: Increase hook priority
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Sat, 01 Jun 2013 23:36:14 +0100 |
parents | edb06824a5a4 |
children | 5fd0860c86cd |
comparison
equal
deleted
inserted
replaced
1039:3f91f17ddaca | 1040:6574303a8169 |
---|---|
71 for room_jid, room in pairs(hosts[module.host].modules.muc.rooms) do | 71 for room_jid, room in pairs(hosts[module.host].modules.muc.rooms) do |
72 room.throttle = nil; | 72 room.throttle = nil; |
73 end | 73 end |
74 end | 74 end |
75 | 75 |
76 module:hook("message/bare", handle_stanza, 10); | 76 module:hook("message/bare", handle_stanza, 501); |
77 module:hook("message/full", handle_stanza, 10); | 77 module:hook("message/full", handle_stanza, 501); |
78 module:hook("presence/bare", handle_stanza, 10); | 78 module:hook("presence/bare", handle_stanza, 501); |
79 module:hook("presence/full", handle_stanza, 10); | 79 module:hook("presence/full", handle_stanza, 501); |