From ac8b7babf15e1ef760c8fe2fdf83178aaed09ddf Mon Sep 17 00:00:00 2001 From: James Lu Date: Tue, 12 Feb 2019 15:53:58 -0800 Subject: [PATCH] inspircd: don't allow _ in hosts CHGHOST on InspIRCd 2.0 does not see this as valid. --- protocols/inspircd.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/protocols/inspircd.py b/protocols/inspircd.py index a2368b1..5518cbd 100644 --- a/protocols/inspircd.py +++ b/protocols/inspircd.py @@ -17,7 +17,7 @@ class InspIRCdProtocol(TS6BaseProtocol): def __init__(self, *args, **kwargs): super().__init__(*args, **kwargs) - self.protocol_caps |= {'slash-in-nicks', 'slash-in-hosts', 'underscore-in-hosts'} + self.protocol_caps |= {'slash-in-nicks', 'slash-in-hosts'} # Set our case mapping (rfc1459 maps "\" and "|" together, for example). self.casemapping = 'rfc1459'