Diff

core/stanza_router.lua @ 1358:71fbf8a52dcf

stanza_router: Remove unused variables
author Waqas Hussain <waqas20@gmail.com>
date Sun, 14 Jun 2009 18:21:19 +0500
parent 1356:b760c0d4e012
child 1367:e4d660e58dfc
line wrap: on
line diff
--- a/core/stanza_router.lua	Sun Jun 14 18:09:49 2009 +0500
+++ b/core/stanza_router.lua	Sun Jun 14 18:21:19 2009 +0500
@@ -17,24 +17,18 @@
 local user_exists = require "core.usermanager".user_exists;
 
 local rostermanager = require "core.rostermanager";
-local sessionmanager = require "core.sessionmanager";
 local offlinemanager = require "core.offlinemanager";
 
 local modules_handle_stanza = require "core.modulemanager".handle_stanza;
 local component_handle_stanza = require "core.componentmanager".handle_stanza;
 
-local format = string.format;
 local tostring = tostring;
-local t_concat = table.concat;
 local t_insert = table.insert;
-local tonumber = tonumber;
-local s_find = string.find;
 local pairs = pairs;
 local ipairs = ipairs;
 
 local jid_split = require "util.jid".split;
 local jid_prepped_split = require "util.jid".prepped_split;
-local print = print;
 local fire_event = prosody.events.fire_event;
 
 local select_best_resources;