mirror of
https://github.com/BeamMP/BeamMP-Server.git
synced 2025-07-04 00:36:14 +00:00
fix assert in SendToAll
This commit is contained in:
parent
e41b3df095
commit
1de29dc5e4
@ -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) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user