mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-29 05:11:55 +01:00
Core/Commands: Fixed .pinfo ban output for permanent bans
This commit is contained in:
@@ -1782,7 +1782,7 @@ public:
|
||||
if (result2)
|
||||
{
|
||||
Field* fields = result2->Fetch();
|
||||
bool permanent = fields[1].GetBool();
|
||||
bool permanent = fields[1].GetUInt64() != 0;
|
||||
banTime = !permanent ? int64(fields[0].GetUInt32()) : 0;
|
||||
bannedBy = fields[2].GetString();
|
||||
banReason = fields[3].GetString();
|
||||
|
||||
Reference in New Issue
Block a user