From: Aki Tuomi Date: Fri, 26 Jun 2020 15:29:46 +0000 (+0300) Subject: auth: db-lua - Pop dovecot after registering X-Git-Tag: 2.3.11.2~15 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=97ccdbd866716ac1080ba8d2eb1429e92b847955;p=thirdparty%2Fdovecot%2Fcore.git auth: db-lua - Pop dovecot after registering --- diff --git a/src/auth/db-lua.c b/src/auth/db-lua.c index 67e98c1f9b..55ee364980 100644 --- a/src/auth/db-lua.c +++ b/src/auth/db-lua.c @@ -397,6 +397,9 @@ static void auth_lua_dovecot_auth_register(struct dlua_script *script) /* put this as "dovecot.auth" */ lua_setfield(script->L, -2, "auth"); + + /* pop dovecot */ + lua_pop(script->L, 1); } int auth_lua_script_init(struct dlua_script *script, const char **error_r)