mirror of
https://github.com/bjc/prosody.git
synced 2025-04-03 21:27:38 +03:00
mod_watchregistrations: Use type-specific config API for 'registration_notification'
This commit is contained in:
parent
b719bc7920
commit
e1769afc17
1 changed files with 1 additions and 1 deletions
|
@ -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";
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue