Mercurial > prosody-modules
comparison mod_swedishchef/mod_swedishchef.lua @ 2779:c53cc1ae4788
mod_swedishchef: Add event so other modules can use this filter
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Fri, 29 Sep 2017 09:18:24 +0100 |
parents | 2615facc461b |
children | d93a73282a93 |
comparison
equal
deleted
inserted
replaced
2778:2615facc461b | 2779:c53cc1ae4788 |
---|---|
71 | 71 |
72 if module:get_option_boolean("swedish_chef_enabled", true) then | 72 if module:get_option_boolean("swedish_chef_enabled", true) then |
73 module:hook("message/bare", check_message); | 73 module:hook("message/bare", check_message); |
74 end | 74 end |
75 | 75 |
76 module:hook("swedish_chef/message_filter", check_message); |