X-Git-Url: https://git.enpas.org/?a=blobdiff_plain;f=plugins%2Fmod_watchregistrations.lua;h=1e696f30e1f72329b935cf5cdebdec067025054f;hb=db2ebc9585c3d52cd30f913728fedb54d76298f2;hp=b7be5daf8e8a945aa29de64e82b57d762a089a7f;hpb=04bc83bc4d2668a95b4538def5b51cf8611ae111;p=prosody.git 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";