mirror of
https://github.com/MinetestForFun/mysql_auth.git
synced 2025-01-07 00:20:25 +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
|
||||
end
|
||||
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
|
||||
end,
|
||||
reload = function()
|
||||
|
Loading…
Reference in New Issue
Block a user