Software /
code /
prosody-modules
Comparison
mod_auth_dovecot/auth_dovecot/sasl_dovecot.lib.lua @ 4954:e8a487c42b36
merge upstream
author | Goffi <goffi@goffi.org> |
---|---|
date | Sat, 28 May 2022 16:43:04 +0200 |
parent | 4940:7406039021d8 |
comparison
equal
deleted
inserted
replaced
4953:7d6ae8bb95dc | 4954:e8a487c42b36 |
---|---|
22 | 22 |
23 local s_match, s_gmatch = string.match, string.gmatch | 23 local s_match, s_gmatch = string.match, string.gmatch |
24 local t_concat = table.concat; | 24 local t_concat = table.concat; |
25 local m_random = math.random; | 25 local m_random = math.random; |
26 local tostring, tonumber = tostring, tonumber; | 26 local tostring, tonumber = tostring, tonumber; |
27 local unpack = table.unpack or unpack; | |
27 | 28 |
28 local socket = require "socket" | 29 local socket = require "socket" |
29 | 30 |
30 local unix_success, unix = pcall(require, "socket.unix"); | 31 local unix_success, unix = pcall(require, "socket.unix"); |
31 if unix_success and unix and not socket.unix then | 32 if unix_success and unix and not socket.unix then |