Software /
code /
prosody
Comparison
core/portmanager.lua @ 4789:bed0c6117358
portmanager: Import tonumber (thanks Zash)
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Sat, 28 Apr 2012 19:38:51 +0100 |
parent | 4786:ad6d4ab40b20 |
child | 4800:7ce502f21270 |
comparison
equal
deleted
inserted
replaced
4788:e14f5a156571 | 4789:bed0c6117358 |
---|---|
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 table, package = table, package; | 8 local table, package = table, package; |
9 local setmetatable, rawset, rawget = setmetatable, rawset, rawget; | 9 local setmetatable, rawset, rawget = setmetatable, rawset, rawget; |
10 local type = type; | 10 local type, tonumber = type, tonumber; |
11 | 11 |
12 local prosody = prosody; | 12 local prosody = prosody; |
13 local fire_event = prosody.events.fire_event; | 13 local fire_event = prosody.events.fire_event; |
14 | 14 |
15 module "portmanager"; | 15 module "portmanager"; |