mod_auth_dovecot: Fix compat with Lua 5.2+ move of unpack() (thanks Tom)
authorKim Alvefur <zash@zash.se>
Sat, 14 May 2022 15:52:23 +0200
changeset 4944 7406039021d8
parent 4943 1a58345d91a9
child 4945 e7b9bc629ecc
mod_auth_dovecot: Fix compat with Lua 5.2+ move of unpack() (thanks Tom)
mod_auth_dovecot/auth_dovecot/sasl_dovecot.lib.lua
--- a/mod_auth_dovecot/auth_dovecot/sasl_dovecot.lib.lua	Sat May 14 15:50:44 2022 +0200
+++ b/mod_auth_dovecot/auth_dovecot/sasl_dovecot.lib.lua	Sat May 14 15:52:23 2022 +0200
@@ -24,6 +24,7 @@
 local t_concat = table.concat;
 local m_random = math.random;
 local tostring, tonumber = tostring, tonumber;
+local unpack = table.unpack or unpack;
 
 local socket = require "socket"