1
0
Fork 0
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:
Kane York 2015-11-16 14:30:09 -08:00
parent d3fa1e6894
commit 71f08f3c53
3 changed files with 59 additions and 7 deletions

View file

@ -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