fix usage of level debug in log
This commit is contained in:
parent
a1150b3e46
commit
8b82b4b58f
4
init.lua
4
init.lua
@ -85,7 +85,7 @@ minetest.register_on_joinplayer( function ( player )
|
||||
auth_db.on_login_success( player_name, player_ip )
|
||||
auth_db.on_session_opened( player_name )
|
||||
auth_watchdog.on_success( convert_ipv4( player_ip ) )
|
||||
minetest.log( "debug", "[auth_rx] in authentication database players success joined ".. player_name )
|
||||
minetest.log( "warning", "[auth_rx] in authentication database players success joined ".. player_name )
|
||||
else
|
||||
minetest.log( "error", "[auth_rx] incomplete auth process on player obj nil ip obj address" )
|
||||
end
|
||||
@ -97,7 +97,7 @@ minetest.register_on_leaveplayer( function ( player )
|
||||
if player ~= nil then
|
||||
name = player:get_player_name( )
|
||||
auth_db.on_session_closed( name )
|
||||
minetest.log( "debug", "[auth_rx] player "..name.." leaving" )
|
||||
minetest.log( "warning", "[auth_rx] player "..name.." leaving" )
|
||||
else
|
||||
minetest.log( "error", "[auth_rx] incomplete player leaving without writing in dbx due nil object" )
|
||||
end
|
||||
|
Loading…
x
Reference in New Issue
Block a user