mirror of
https://github.com/jlu5/PyLink.git
synced 2024-12-26 04:32:51 +01:00
ts6: less garbled error message for UID handler
This commit is contained in:
parent
2777b88d33
commit
ce83bea09a
@ -476,9 +476,8 @@ def handle_euid(irc, numeric, command, args):
|
|||||||
return {'uid': uid, 'ts': ts, 'nick': nick, 'realhost': realhost, 'host': host, 'ident': ident, 'ip': ip}
|
return {'uid': uid, 'ts': ts, 'nick': nick, 'realhost': realhost, 'host': host, 'ident': ident, 'ip': ip}
|
||||||
|
|
||||||
def handle_uid(irc, numeric, command, args):
|
def handle_uid(irc, numeric, command, args):
|
||||||
raise ProtocolError("Servers must use EUID to send users! This is a "
|
raise ProtocolError("Servers should use EUID instead of UID to send users! "
|
||||||
"requested capability; plain UID (received) is not "
|
"This IS a required capability after all...")
|
||||||
"handled by us at all!")
|
|
||||||
|
|
||||||
def handle_server(irc, numeric, command, args):
|
def handle_server(irc, numeric, command, args):
|
||||||
# parameters: server name, hopcount, sid, server description
|
# parameters: server name, hopcount, sid, server description
|
||||||
|
Loading…
Reference in New Issue
Block a user