fix assert in SendToAll

This commit is contained in:
Lion Kortlepel 2020-11-06 01:34:55 +01:00
parent e41b3df095
commit 1de29dc5e4

View File

@ -32,7 +32,9 @@ void Respond(Client*c, const std::string& MSG, bool Rel){
}else UDPSend(c,MSG);
}
void SendToAll(Client*c, const std::string& Data, bool Self, bool Rel){
if (Self) {
Assert(c);
}
char C = Data.at(0);
for(Client*client : CI->Clients){
if(client != nullptr) {