Comparison

core/portmanager.lua @ 4741:0653476ac3a3

portmanager: Explicitly import some libraries
author Matthew Wild <mwild1@gmail.com>
date Sat, 28 Apr 2012 01:27:02 +0100
parent 4687:bd3a852b949a
child 4742:23c2ece2c8bc
comparison
equal deleted inserted replaced
4740:bd9c8bc8036f 4741:0653476ac3a3
1 1 local config = require "core.configmanager";
2 local server = require "net.server";
3
4 local log = require "util.logger".init("portmanager");
2 local multitable = require "util.multitable"; 5 local multitable = require "util.multitable";
6 local set = require "util.set";
7
8 local prosody = prosody;
3 local fire_event = prosody.events.fire_event; 9 local fire_event = prosody.events.fire_event;
4 10
5 --- Config 11 --- Config
6 12
7 local default_interfaces = { "*" }; 13 local default_interfaces = { "*" };