Move inventory log calls to LogInventory

This commit is contained in:
Akkadius committed 2019-09-02 02:50:39 -05:00
1 parent 674dfc5fac
commit c8e673c6d4
6 files changed
+102 -104

No files matched your search

+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;
}