mirror of
https://github.com/MinetestForFun/mysql_auth.git
synced 2025-01-08 00:50:25 +01:00
Remove extraneous do..end block
This commit is contained in:
parent
5c758ba5b1
commit
e5801a1e0c
3
init.lua
3
init.lua
@ -194,7 +194,7 @@ do
|
||||
thismod.table_exists = table_exists
|
||||
|
||||
local auth_table_created
|
||||
do -- Auth table existence check and setup
|
||||
-- Auth table existence check and setup
|
||||
if not table_exists(tables.auths.name) then
|
||||
-- Auth table doesn't exist, create it
|
||||
local S = tables.auths.schema
|
||||
@ -211,7 +211,6 @@ do
|
||||
"'")
|
||||
auth_table_created = true
|
||||
end
|
||||
end
|
||||
|
||||
local S = tables.auths.schema
|
||||
local get_auth_stmt = conn:prepare('SELECT ' .. S.password .. ',' .. S.privs .. ',' ..
|
||||
|
Loading…
Reference in New Issue
Block a user