From b3447b74c2143e7abb8b9d32c3ab6101c08bb8e3 Mon Sep 17 00:00:00 2001 From: James Lu Date: Fri, 8 Apr 2016 20:41:09 -0700 Subject: [PATCH] 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! --- protocols/hybrid.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/protocols/hybrid.py b/protocols/hybrid.py index 8fec45f..65d5ac2 100644 --- a/protocols/hybrid.py +++ b/protocols/hybrid.py @@ -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]