Added a small check just in case...

This commit is contained in:
FishyClockwork 2016-10-14 15:17:19 +02:00 committed by Christoph Oelckers
parent ecffd0bea6
commit 08504dcbe2

View file

@ -763,6 +763,7 @@ public:
else if (goodbyestr[0] == '$')
{
goodbyestr = GStrings(goodbyestr + 1);
if (goodbyestr == nullptr) goodbyestr = "Bye.";
}
mResponses.Push(mResponseLines.Size());
mResponseLines.Push(FString(goodbyestr));