Comparison

plugins/mod_admin_socket.lua @ 12852:c35afa353f8f

mod_admin_socket: Fix typo in comments Introduced in 6966026262f4
author Kim Alvefur <zash@zash.se>
date Fri, 20 Jan 2023 18:16:10 +0100
parent 12418:dd47adf74e93
child 12888:b8504b71735d
comparison
equal deleted inserted replaced
12851:ffa75a9ce907 12852:c35afa353f8f
6 -- COMPAT #1717 6 -- COMPAT #1717
7 -- Before the introduction of datagram support, only the stream socket 7 -- Before the introduction of datagram support, only the stream socket
8 -- constructor was exported instead of a module table. Due to the lack of a 8 -- constructor was exported instead of a module table. Due to the lack of a
9 -- proper release of LuaSocket, distros have settled on shipping either the 9 -- proper release of LuaSocket, distros have settled on shipping either the
10 -- last RC tag or some commit since then. 10 -- last RC tag or some commit since then.
11 -- Here we accomodate both variants. 11 -- Here we accommodate both variants.
12 unix = { stream = unix }; 12 unix = { stream = unix };
13 end 13 end
14 if not have_unix or type(unix) ~= "table" then 14 if not have_unix or type(unix) ~= "table" then
15 module:log_status("error", "LuaSocket unix socket support not available or incompatible, ensure it is up to date"); 15 module:log_status("error", "LuaSocket unix socket support not available or incompatible, ensure it is up to date");
16 return; 16 return;