mirror of
https://github.com/redstrate/Kawari.git
synced 2025-07-17 18:47:46 +00:00
Redundancy nit.
This commit is contained in:
parent
9a60faa15d
commit
4f5f204507
1 changed files with 2 additions and 2 deletions
|
@ -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();
|
||||||
|
|
Loading…
Add table
Reference in a new issue