Move inventory log calls to LogInventory

This commit is contained in:
Akkadius
2019-09-02 02:50:39 -05:00
parent 674dfc5fac
commit c8e673c6d4
6 changed files with 102 additions and 104 deletions
+1 -1
View File
@@ -5710,7 +5710,7 @@ void command_iteminfo(Client *c, const Seperator *sep)
}
auto item = inst->GetItem();
if (!item) {
Log(Logs::General, Logs::Inventory, "(%s) Command #iteminfo processed an item with no data pointer");
LogInventory("([{}]) Command #iteminfo processed an item with no data pointer");
c->Message(Chat::Red, "Error: This item has no data reference");
return;
}