Merge 0.10->trunk
[prosody.git] / plugins / mod_watchregistrations.lua
index b7be5daf8e8a945aa29de64e82b57d762a089a7f..1e696f30e1f72329b935cf5cdebdec067025054f 100644 (file)
@@ -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";