3
0
mirror of https://github.com/jlu5/PyLink.git synced 2024-12-24 11:42:51 +01:00

hybrid: make a note of how hybrid UID differs from standard TS6

These are two mutually incompatible implementations, which is why this module exists separately from ts6!
This commit is contained in:
James Lu 2016-04-08 20:41:09 -07:00
parent 5a6a6ca40e
commit b3447b74c2

View File

@ -176,7 +176,10 @@ class HybridProtocol(TS6Protocol):
self.irc.connected.set()
def handle_uid(self, numeric, command, args):
"""Handles incoming UID commands (user introduction)."""
"""
Handles Hybrid-style UID commands (user introduction). This is INCOMPATIBLE
with standard TS6 implementations, as the arguments are slightly different.
"""
# <- :0UY UID dan 1 1451041551 +Facdeiklosuw ~ident localhost 127.0.0.1 0UYAAAAAB * :realname
nick = args[0]
ts, modes, ident, host, ip, uid, account, realname = args[2:10]