# HG changeset patch # User Kim Alvefur # Date 1457699838 -3600 # Node ID 29861845e0e066cf4869836b211045c3040665eb # Parent 8ad2dbc4fdb60f80decd775460b1852a31561b5c mod_watchregistrations: Use type-specific config API for 'registration_notification' diff -r 8ad2dbc4fdb6 -r 29861845e0e0 plugins/mod_watchregistrations.lua --- 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";