[Crash] Fix crash when client pointer does not exist during #hotfix (#3661)

This commit is contained in:
Chris Miles authored and GitHub committed 2023-10-29 18:45:18 -05:00
1 parent a5a51fbe44
commit fef629e1df
1 file changed
+1 -1
+1 -1
View File
@@ -691,7 +691,7 @@ void command_hotfix(Client *c, const Seperator *sep)
}
worldserver.SendPacket(&pack);
if (c) { c->Message(Chat::White, "Hotfix applied"); }
worldserver.SendEmoteMessage(0, 0, AccountStatus::ApprenticeGuide, Chat::Yellow, "Hotfix applied");
}
);