plugins/mod_blocklist.lua
changeset 8744 0fd63ed1f647
parent 8278 13dad833e821
child 9251 1d6a2cc389eb
equal deleted inserted replaced
8733:de74bc49385e 8744:0fd63ed1f647
   319 
   319 
   320 module:hook("pre-message/bare", bounce_outgoing, prio_out);
   320 module:hook("pre-message/bare", bounce_outgoing, prio_out);
   321 module:hook("pre-message/full", bounce_outgoing, prio_out);
   321 module:hook("pre-message/full", bounce_outgoing, prio_out);
   322 module:hook("pre-message/host", bounce_outgoing, prio_out);
   322 module:hook("pre-message/host", bounce_outgoing, prio_out);
   323 
   323 
   324 -- FIXME See #575 -- We MUST bounce these, but we don't because this
   324 module:hook("pre-presence/bare", bounce_outgoing, -1);
   325 -- would produce lots of error replies due to server-generated presence.
   325 module:hook("pre-presence/host", bounce_outgoing, -1);
   326 -- This will likely need changes to mod_presence
   326 module:hook("pre-presence/full", bounce_outgoing, prio_out);
   327 module:hook("pre-presence/bare", drop_outgoing, prio_out);
       
   328 module:hook("pre-presence/full", drop_outgoing, prio_out);
       
   329 module:hook("pre-presence/host", drop_outgoing, prio_out);
       
   330 
   327 
   331 module:hook("pre-iq/bare", bounce_outgoing, prio_out);
   328 module:hook("pre-iq/bare", bounce_outgoing, prio_out);
   332 module:hook("pre-iq/full", bounce_outgoing, prio_out);
   329 module:hook("pre-iq/full", bounce_outgoing, prio_out);
   333 module:hook("pre-iq/host", bounce_outgoing, prio_out);
   330 module:hook("pre-iq/host", bounce_outgoing, prio_out);
   334 
   331