Фикс киков с сервера
All checks were successful
Build rosetta-wss / build (push) Successful in 3m30s
All checks were successful
Build rosetta-wss / build (push) Successful in 3m30s
This commit is contained in:
@@ -64,7 +64,7 @@ public class Executor26SignalPeer extends PacketExecutor<Packet26SignalPeer> {
|
||||
client.disconnect(Failures.HANDSHAKE_NOT_COMPLETED);
|
||||
return;
|
||||
}
|
||||
if(!src.equals(eciAuthentificate.getPublicKey()) && authentificatedTypes.contains(type)) {
|
||||
if(src != null && !src.equals(eciAuthentificate.getPublicKey()) && authentificatedTypes.contains(type)) {
|
||||
/**
|
||||
* Если src в пакете не совпадает с авторизованным PK клиента, то это может означать, что клиент пытается
|
||||
* отправить сигнал от другого пользователя, отключаем его от сервера.
|
||||
|
||||
Reference in New Issue
Block a user