plugins/mod_watchregistrations.lua
changeset 13206 173038306750
parent 12981 74b9e05af71e
--- a/plugins/mod_watchregistrations.lua	Sat Jan 16 20:40:14 2021 +0100
+++ b/plugins/mod_watchregistrations.lua	Sat Jan 16 21:04:58 2021 +0100
@@ -13,7 +13,7 @@
 local registration_watchers = module:get_option_set("registration_watchers", module:get_option("admins", {})) / jid_prep;
 local registration_from = module:get_option_string("registration_from", host);
 local registration_notification = module:get_option_string("registration_notification", "User $username just registered on $host from $ip");
-local msg_type = module:get_option_string("registration_notification_type", "chat");
+local msg_type = module:get_option_enum("registration_notification_type", "chat", "normal", "headline");
 
 local st = require "prosody.util.stanza";