Software /
code /
prosody
Diff
plugins/mod_announce.lua @ 3276:4e44469b0583
mod_announce: Removed unused variables.
author | Waqas Hussain <waqas20@gmail.com> |
---|---|
date | Fri, 18 Jun 2010 14:20:00 +0500 |
parent | 3275:05c1d8269043 |
child | 3278:5ca2ed58788f |
line wrap: on
line diff
--- a/plugins/mod_announce.lua Fri Jun 18 14:19:09 2010 +0500 +++ b/plugins/mod_announce.lua Fri Jun 18 14:20:00 2010 +0500 @@ -6,10 +6,9 @@ -- COPYING file in the source package for more information. -- -local st, jid, set = require "util.stanza", require "util.jid", require "util.set"; +local st, jid = require "util.stanza", require "util.jid"; local is_admin = require "core.usermanager".is_admin; -local admins = set.new(config.get(module:get_host(), "core", "admins")); function send_to_online(message, server) local sessions;