Update to protocol 74
This commit is contained in:
1 parent
20401e6b35
commit
a6c22bffa3
3 files changed
+19
-2
No files matched your search
@@ -13,7 +13,7 @@ def sendHandshake(socket, username, host, port):
|
||||
socket.send("\x02")
|
||||
|
||||
#byte - protocol version
|
||||
DataUtil.sendByte(socket, 73)
|
||||
DataUtil.sendByte(socket, 74)
|
||||
|
||||
#string - username
|
||||
DataUtil.sendString(socket, username)
|
||||
@@ -56,4 +56,4 @@ def sendFC(socket, secret, token):
|
||||
|
||||
def sendFF(socket, reason):
|
||||
#string - disconnect reason
|
||||
DataUtil.sendString(socket, reason)
|
||||
DataUtil.sendString(socket, reason)
|
||||
Reference in new issue
Block a user