Core/Commands: Fix a crash in .gm list
--HG-- branch : trunk
This commit is contained in:
@@ -6987,8 +6987,9 @@ bool ChatHandler::HandleGMListFullCommand(const char* /*args*/)
|
|||||||
do
|
do
|
||||||
{
|
{
|
||||||
Field *fields = result->Fetch();
|
Field *fields = result->Fetch();
|
||||||
PSendSysMessage("|%15s|%6s|", fields[0].GetString(),fields[1].GetString());
|
PSendSysMessage("|%15s|%6s|", fields[0].GetCString(),fields[1].GetCString());
|
||||||
}while (result->NextRow());
|
}
|
||||||
|
while (result->NextRow());
|
||||||
|
|
||||||
PSendSysMessage(" ======================== ");
|
PSendSysMessage(" ======================== ");
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user