From d3f2a370da918d6286db3d785194edb102925338 Mon Sep 17 00:00:00 2001 From: James Lu Date: Thu, 22 Aug 2019 19:02:59 -0700 Subject: [PATCH] Revert "inspircd: don't allow _ in hosts" This reverts commit ac8b7babf15e1ef760c8fe2fdf83178aaed09ddf. --- protocols/inspircd.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/protocols/inspircd.py b/protocols/inspircd.py index 475a109..c5576e9 100644 --- a/protocols/inspircd.py +++ b/protocols/inspircd.py @@ -22,7 +22,7 @@ class InspIRCdProtocol(TS6BaseProtocol): def __init__(self, *args, **kwargs): super().__init__(*args, **kwargs) - self.protocol_caps |= {'slash-in-nicks', 'slash-in-hosts'} + self.protocol_caps |= {'slash-in-nicks', 'slash-in-hosts', 'underscore-in-hosts'} # Set our case mapping (rfc1459 maps "\" and "|" together, for example). self.casemapping = 'rfc1459'