mirror of
https://github.com/BeamMP/BeamMP-Server.git
synced 2026-02-16 10:41:01 +00:00
fix assert in SendToAll
This commit is contained in:
@@ -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){
|
||||
Assert(c);
|
||||
if (Self) {
|
||||
Assert(c);
|
||||
}
|
||||
char C = Data.at(0);
|
||||
for(Client*client : CI->Clients){
|
||||
if(client != nullptr) {
|
||||
|
||||
Reference in New Issue
Block a user