1
Fork 0
mirror of https://github.com/redstrate/Kawari.git synced 2025-06-30 11:47:45 +00:00

Adjust logging slightly

This commit is contained in:
The Dax 2025-06-20 09:48:37 -04:00 committed by Joshua Goins
parent 276e183d85
commit 579bef8cd6

View file

@ -552,7 +552,8 @@ async fn client_loop(
unwrap();
Ok(())
} else {
tracing::info!("User with account_id {} tried to invoke GM command they have no permissions for!!!", connection.player_data.account_id);
tracing::info!("User with account_id {} tried to invoke GM command {} they have no permissions for!",
connection.player_data.account_id, command_name);
let func: Function =
lua.globals().get("onCommandPermissionError").unwrap();
func.call::<()>(connection_data).unwrap();