Comparison

plugins/mod_watchregistrations.lua @ 1206:3ec37e678b46

mod_watchregistrations: admin -> admins
author Matthew Wild <mwild1@gmail.com>
date Wed, 27 May 2009 14:03:12 +0100
parent 1201:9d5c1b2cf89c
child 1251:302582b827ed
comparison
equal deleted inserted replaced
1205:23a079f50cab 1206:3ec37e678b46
2 local host = module:get_host(); 2 local host = module:get_host();
3 3
4 local config = require "core.configmanager"; 4 local config = require "core.configmanager";
5 5
6 local registration_watchers = config.get(host, "core", "registration_watchers") 6 local registration_watchers = config.get(host, "core", "registration_watchers")
7 or config.get(host, "core", "admin") or {}; 7 or config.get(host, "core", "admins") or {};
8 8
9 local registration_alert = config.get(host, "core", "registration_notification") or "User $username just registered on $host from $ip"; 9 local registration_alert = config.get(host, "core", "registration_notification") or "User $username just registered on $host from $ip";
10 10
11 local st = require "util.stanza"; 11 local st = require "util.stanza";
12 12