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 | 3cee8c1473a0938b58ec0ed93c266c33ec26a4a6 (patch) | |
tree | 30dc0c612d970dfc21eb659c8859948a94cbdc5e /plugins | |
parent | abdd21688701aa4ad6438a388cb84e0cd76dfe44 (diff) | |
download | prosody-3cee8c1473a0938b58ec0ed93c266c33ec26a4a6.tar.gz prosody-3cee8c1473a0938b58ec0ed93c266c33ec26a4a6.zip |
mod_watchregistrations: Use type-specific config API for 'registration_notification'
Diffstat (limited to 'plugins')
-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"; |