File tree 2 files changed +4
-2
lines changed
2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -183,7 +183,8 @@ class Client extends Connection {
183
183
if ( this . status === ClientStatus . Disconnected ) return
184
184
this . write ( 'disconnect' , {
185
185
hide_disconnect_screen : hide ,
186
- message : reason
186
+ message : reason ,
187
+ filtered_message : ''
187
188
} )
188
189
this . close ( reason )
189
190
}
Original file line number Diff line number Diff line change @@ -117,7 +117,8 @@ class Player extends Connection {
117
117
if ( this . status === ClientStatus . Disconnected ) return
118
118
this . write ( 'disconnect' , {
119
119
hide_disconnect_screen : hide ,
120
- message : reason
120
+ message : reason ,
121
+ filtered_message : ''
121
122
} )
122
123
this . server . conLog ( 'Kicked ' , this . connection ?. address , reason )
123
124
setTimeout ( ( ) => this . close ( 'kick' ) , 100 ) // Allow time for message to be recieved.
You can’t perform that action at this time.
0 commit comments