mirror of
https://github.com/FrankerFaceZ/FrankerFaceZ.git
synced 2025-08-03 00:18:31 +00:00
Implement version comparisons
This commit is contained in:
parent
d3fa1e6894
commit
71f08f3c53
3 changed files with 59 additions and 7 deletions
|
@ -261,7 +261,7 @@ RunLoop:
|
|||
break RunLoop
|
||||
|
||||
case msg := <-clientChan:
|
||||
if client.Version == "" && msg.Command != HelloCommand {
|
||||
if client.VersionString == "" && msg.Command != HelloCommand {
|
||||
CloseConnection(conn, &CloseFirstMessageNotHello)
|
||||
Statistics.FirstNotHelloDisconnects++
|
||||
break RunLoop
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue