Skip to content

Commit 8957c84

Browse files
admin: remove unused parameter in unregister (#333)
1 parent f13c66c commit 8957c84

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
@@ -481,7 +481,7 @@ addCommandHandler ( "register", function ( player, command, arg1, arg2 )
481481
end )
482482

483483
-- This requires "function.removeAccount" permission for both the admin resource and the player
484-
addCommandHandler ( "unregister", function ( player, command, arg1, arg2 )
484+
addCommandHandler ( "unregister", function ( player, command, arg1 )
485485
local username = arg1 or ""
486486
local result = "failed - No permission"
487487
if ( hasObjectPermissionTo ( player, "function.removeAccount" ) ) then

0 commit comments

Comments
 (0)