Core/DBLayer: Restore pinfo ban info output

This commit is contained in:
leak
2012-03-25 21:22:53 +02:00
parent fa1d3f305b
commit ffbee169f4
2 changed files with 10 additions and 2 deletions

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();
}