diff options
author | Kim Alvefur <zash@zash.se> | 2016-03-11 13:37:18 +0100 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2016-03-11 13:37:18 +0100 |
commit | e1769afc17d978417c95f944ac757ed45b319d92 (patch) | |
tree | 30dc0c612d970dfc21eb659c8859948a94cbdc5e /plugins/mod_watchregistrations.lua | |
parent | b719bc792070bc2a70a1df320bd8cce1bf5577c9 (diff) | |
download | prosody-e1769afc17d978417c95f944ac757ed45b319d92.tar.gz prosody-e1769afc17d978417c95f944ac757ed45b319d92.zip |
mod_watchregistrations: Use type-specific config API for 'registration_notification'
Diffstat (limited to 'plugins/mod_watchregistrations.lua')
-rw-r--r-- | plugins/mod_watchregistrations.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/mod_watchregistrations.lua b/plugins/mod_watchregistrations.lua index b7be5daf..1e696f30 100644 --- a/plugins/mod_watchregistrations.lua +++ b/plugins/mod_watchregistrations.lua @@ -11,7 +11,7 @@ local host = module:get_host(); local jid_prep = require "util.jid".prep; local registration_watchers = module:get_option_set("registration_watchers", module:get_option("admins", {})) / jid_prep; -local registration_notification = module:get_option("registration_notification", "User $username just registered on $host from $ip"); +local registration_notification = module:get_option_string("registration_notification", "User $username just registered on $host from $ip"); local st = require "util.stanza"; |