mirror of
https://github.com/MinetestForFun/mysql_auth.git
synced 2025-01-09 01:20:23 +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
|
thismod.table_exists = table_exists
|
||||||
|
|
||||||
local auth_table_created
|
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
|
if not table_exists(tables.auths.name) then
|
||||||
-- Auth table doesn't exist, create it
|
-- Auth table doesn't exist, create it
|
||||||
local S = tables.auths.schema
|
local S = tables.auths.schema
|
||||||
@ -211,7 +211,6 @@ do
|
|||||||
"'")
|
"'")
|
||||||
auth_table_created = true
|
auth_table_created = true
|
||||||
end
|
end
|
||||||
end
|
|
||||||
|
|
||||||
local S = tables.auths.schema
|
local S = tables.auths.schema
|
||||||
local get_auth_stmt = conn:prepare('SELECT ' .. S.password .. ',' .. S.privs .. ',' ..
|
local get_auth_stmt = conn:prepare('SELECT ' .. S.password .. ',' .. S.privs .. ',' ..
|
||||||
|
Loading…
Reference in New Issue
Block a user