Changeset

3275:05c1d8269043

mod_announce: Changed a global variable to local.
author Waqas Hussain <waqas20@gmail.com>
date Fri, 18 Jun 2010 14:19:09 +0500
parents 3274:366ac5e47096
children 3276:4e44469b0583
files plugins/mod_announce.lua
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/plugins/mod_announce.lua	Tue Jun 15 16:57:15 2010 +0500
+++ b/plugins/mod_announce.lua	Fri Jun 18 14:19:09 2010 +0500
@@ -12,6 +12,7 @@
 local admins = set.new(config.get(module:get_host(), "core", "admins"));
 
 function send_to_online(message, server)
+	local sessions;
 	if server then
 		sessions = { [server] = hosts[server] };
 	else