changeset 977:f178318c9aeb

mod_muc_log_http: remove overlapping imports.
author Marco Cirillo <maranda@lightwitch.org>
date Mon, 08 Apr 2013 01:01:11 +0200
parents 0428009c1127
children c8f4502c764f
files mod_muc_log_http/muc_log_http/mod_muc_log_http.lua
diffstat 1 files changed, 1 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/mod_muc_log_http/muc_log_http/mod_muc_log_http.lua	Mon Apr 08 01:00:26 2013 +0200
+++ b/mod_muc_log_http/muc_log_http/mod_muc_log_http.lua	Mon Apr 08 01:01:11 2013 +0200
@@ -3,8 +3,6 @@
 local prosody = prosody;
 local my_host = module:get_host();
 local tabSort = table.sort;
-local tonumber = _G.tonumber;
-local tostring = _G.tostring;
 local strchar = string.char;
 local strformat = string.format;
 local splitJid = require "util.jid".split;
@@ -15,8 +13,7 @@
 local datastore = "muc_log";
 local urlBase = "muc_log";
 local config = nil;
-local tostring = _G.tostring;
-local tonumber = _G.tonumber;
+local tostring, tonumber = tostring, tonumber;
 local os_date, os_time = os.date, os.time;
 local str_format = string.format;
 local io_open = io.open;