Diff

plugins/mod_announce.lua @ 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
parent 3228:65e5dfcf5a9f
child 3276:4e44469b0583
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