Mercurial > prosody-modules
comparison mod_srvinjection/mod_srvinjection.lua @ 662:b3d130e4b3ae
mod_srvinjection: Use module:set_global()
author | Florian Zeitz <florob@babelmonkeys.de> |
---|---|
date | Mon, 30 Apr 2012 16:45:06 +0200 |
parents | beb5073b866a |
children | 69f7840923f5 |
comparison
equal
deleted
inserted
replaced
661:a6c8f252e5fa | 662:b3d130e4b3ae |
---|---|
1 | 1 |
2 module.host = "*"; | 2 module:set_global(); |
3 | 3 |
4 local adns = require "net.adns"; | 4 local adns = require "net.adns"; |
5 | 5 |
6 local map = module:get_option("srvinjection") or {}; | 6 local map = module:get_option("srvinjection") or {}; |
7 | 7 |