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:
parent
276e183d85
commit
579bef8cd6
1 changed files with 2 additions and 1 deletions
|
@ -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();
|
||||
|
|
Loading…
Add table
Reference in a new issue