Software /
code /
prosody
Changeset
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 |
parents | 7267:8ad2dbc4fdb6 |
children | 7269:cde4ef90cf3d 7271:dae47cd774ac |
files | plugins/mod_watchregistrations.lua |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
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";