mirror of
https://github.com/MinetestForFun/mysql_auth.git
synced 2025-01-08 17:10:24 +01:00
Silence wrong set_privileges error reporting
This commit is contained in:
parent
e5801a1e0c
commit
567ba48881
5
init.lua
5
init.lua
@ -376,11 +376,6 @@ do
|
|||||||
return false
|
return false
|
||||||
end
|
end
|
||||||
minetest.notify_authentication_modified(name)
|
minetest.notify_authentication_modified(name)
|
||||||
if set_privileges_stmt:affected_rows() ~= 1 then
|
|
||||||
minetest.log('error', modname .. ": set_privileges(" .. name .. ") failed: affected row" ..
|
|
||||||
" count is " .. set_privileges_stmt:affected_rows() .. ", expected 1")
|
|
||||||
return false
|
|
||||||
end
|
|
||||||
return true
|
return true
|
||||||
end,
|
end,
|
||||||
reload = function()
|
reload = function()
|
||||||
|
Loading…
Reference in New Issue
Block a user