1
Fork 0
mirror of https://github.com/redstrate/Kawari.git synced 2025-07-17 18:47:46 +00:00

Redundancy nit.

This commit is contained in:
The Dax 2025-07-14 16:41:03 -04:00 committed by Joshua Goins
parent 9a60faa15d
commit 4f5f204507

View file

@ -96,12 +96,12 @@ impl ChatHandler {
if result.is_some() { if result.is_some() {
connection.send_inventory(false).await; connection.send_inventory(false).await;
true
} else { } else {
tracing::error!(ERR_INVENTORY_ADD_FAILED); tracing::error!(ERR_INVENTORY_ADD_FAILED);
connection.send_message(ERR_INVENTORY_ADD_FAILED).await; connection.send_message(ERR_INVENTORY_ADD_FAILED).await;
true
} }
true
} }
"!reload" => { "!reload" => {
connection.reload_scripts(); connection.reload_scripts();