Software /
code /
prosody
Diff
plugins/mod_watchregistrations.lua @ 7268:29861845e0e0
mod_watchregistrations: Use type-specific config API for 'registration_notification'
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Fri, 11 Mar 2016 13:37:18 +0100 |
parent | 5776:bd0ff8ae98a8 |
child | 7860:49ff363f3a3d |
line wrap: on
line diff
--- a/plugins/mod_watchregistrations.lua Fri Mar 11 13:36:48 2016 +0100 +++ b/plugins/mod_watchregistrations.lua Fri Mar 11 13:37:18 2016 +0100 @@ -11,7 +11,7 @@ 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";