Mercurial > prosody-hg
comparison plugins/mod_console.lua @ 736:7cbae2d16fd6
mod_console: Make global
| author | Matthew Wild <mwild1@gmail.com> |
|---|---|
| date | Fri, 16 Jan 2009 05:43:45 +0000 |
| parents | 56410c0cd846 |
| children | b1885732e979 |
comparison
equal
deleted
inserted
replaced
| 735:d247d061409a | 736:7cbae2d16fd6 |
|---|---|
| 15 -- You should have received a copy of the GNU General Public License | 15 -- You should have received a copy of the GNU General Public License |
| 16 -- along with this program; if not, write to the Free Software | 16 -- along with this program; if not, write to the Free Software |
| 17 -- Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. | 17 -- Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. |
| 18 -- | 18 -- |
| 19 | 19 |
| 20 | 20 module.host = "*"; |
| 21 | 21 |
| 22 local connlisteners_register = require "net.connlisteners".register; | 22 local connlisteners_register = require "net.connlisteners".register; |
| 23 | 23 |
| 24 local console_listener = { default_port = 5582; default_mode = "*l"; }; | 24 local console_listener = { default_port = 5582; default_mode = "*l"; }; |
| 25 | 25 |
