Software /
code /
prosody
Comparison
core/portmanager.lua @ 4742:23c2ece2c8bc
portmanager: Add module() definition
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Sat, 28 Apr 2012 01:27:15 +0100 |
parent | 4741:0653476ac3a3 |
child | 4743:70d68e789d93 |
comparison
equal
deleted
inserted
replaced
4741:0653476ac3a3 | 4742:23c2ece2c8bc |
---|---|
5 local multitable = require "util.multitable"; | 5 local multitable = require "util.multitable"; |
6 local set = require "util.set"; | 6 local set = require "util.set"; |
7 | 7 |
8 local prosody = prosody; | 8 local prosody = prosody; |
9 local fire_event = prosody.events.fire_event; | 9 local fire_event = prosody.events.fire_event; |
10 | |
11 module "portmanager"; | |
10 | 12 |
11 --- Config | 13 --- Config |
12 | 14 |
13 local default_interfaces = { "*" }; | 15 local default_interfaces = { "*" }; |
14 local default_local_interfaces = { "127.0.0.1" }; | 16 local default_local_interfaces = { "127.0.0.1" }; |