forked from Kieran/snort
could not send auth
This commit is contained in:
parent
822247e1fa
commit
97a467260d
@ -345,10 +345,6 @@ export default class Connection {
|
|||||||
}
|
}
|
||||||
|
|
||||||
_SendJson(obj: any) {
|
_SendJson(obj: any) {
|
||||||
if(!this.Authed && this.AwaitingAuth.size > 0) {
|
|
||||||
this.Pending.push(obj);
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
if (this.Socket?.readyState !== WebSocket.OPEN) {
|
if (this.Socket?.readyState !== WebSocket.OPEN) {
|
||||||
this.Pending.push(obj);
|
this.Pending.push(obj);
|
||||||
return;
|
return;
|
||||||
|
Loading…
Reference in New Issue
Block a user