mirror of
https://github.com/MinetestForFun/mysql_auth.git
synced 2025-01-08 00:50:25 +01:00
Fix attempt for "commands out of sync"
This commit is contained in:
parent
aec6707ea0
commit
b2670cae08
2
init.lua
2
init.lua
@ -400,7 +400,7 @@ do
|
|||||||
end,
|
end,
|
||||||
enumerate_auths = function()
|
enumerate_auths = function()
|
||||||
conn:query(enumerate_auths_query)
|
conn:query(enumerate_auths_query)
|
||||||
local res = conn:use_result()
|
local res = conn:store_result()
|
||||||
return function()
|
return function()
|
||||||
local row = res:fetch('n')
|
local row = res:fetch('n')
|
||||||
if not row then
|
if not row then
|
||||||
|
Loading…
Reference in New Issue
Block a user