Skip to content

Commit 458b9fe

Browse files
authored
admin: trivial tweak to account registering log message
This change helps server owners to more easily filter all admin actions (e.g for auditing), as it removes noise from a grep on "ADMIN:"
1 parent dac8f2c commit 458b9fe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

[admin]/admin/server/admin_server.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -469,7 +469,7 @@ addCommandHandler ( "register", function ( player, command, arg1, arg2 )
469469
outputChatBox ( "register: - Password should be at least 4 characters long", player, 255, 100, 70 )
470470
elseif ( addAccount ( username, password ) ) then
471471
outputChatBox ( "You have successfully registered! Username: '"..username.."', Password: '"..password.."'(Remember it)", player, 255, 100, 70 )
472-
outputServerLog ( "ADMIN: "..getPlayerName ( player ).." registered account '"..username.."' (IP: "..getPlayerIP(player).." Serial: "..getPlayerSerial(player)..")" )
472+
outputServerLog ( "ACCOUNTS: "..getPlayerName ( player ).." registered account '"..username.."' (IP: "..getPlayerIP(player).." Serial: "..getPlayerSerial(player)..")" )
473473
elseif ( getAccount ( username ) ) then
474474
outputChatBox ( "register: - Account with this name already exists.", player, 255, 100, 70 )
475475
else

0 commit comments

Comments
 (0)