Core/DBLayer: Restore pinfo ban info output

This commit is contained in:
leak committed 2012-03-25 21:23:27 +02:00
1 parent fa1d3f305b
commit ffbee169f4
2 files changed
+10 -2

No files matched your search

+2 -2
View File
@@ -395,8 +395,8 @@ bool ChatHandler::HandlePInfoCommand(const char* args)
if (result2)
{
Field* fields = result->Fetch();
banTime = fields[1].GetBool() ? 0 : fields[0].GetUInt64();
Field* fields = result2->Fetch();
banTime = int64(fields[1].GetBool() ? 0 : fields[0].GetUInt32());
bannedby = fields[2].GetString();
banreason = fields[3].GetString();
}