Software /
code /
prosody-modules
Comparison
mod_firewall/test.lib.lua @ 2852:668447566edf
mod_firewall/test: Import the ltn12 library correctly
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Tue, 05 Dec 2017 21:04:35 +0100 |
parent | 2808:2cc02ee82e8c |
child | 3761:0ae28bf0c546 |
comparison
equal
deleted
inserted
replaced
2851:4b10636bd743 | 2852:668447566edf |
---|---|
1 -- luacheck: globals load_unload_scripts | 1 -- luacheck: globals load_unload_scripts |
2 local set = require "util.set"; | 2 local set = require "util.set"; |
3 local ltn12 = require "socket.ltn12"; | 3 local ltn12 = require "ltn12"; |
4 | 4 |
5 local xmppstream = require "util.xmppstream"; | 5 local xmppstream = require "util.xmppstream"; |
6 | 6 |
7 local function stderr(...) | 7 local function stderr(...) |
8 io.stderr:write("** ", table.concat({...}, "\t", 1, select("#", ...)), "\n"); | 8 io.stderr:write("** ", table.concat({...}, "\t", 1, select("#", ...)), "\n"); |