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

Revert "inspircd: don't allow _ in hosts"

This reverts commit ac8b7babf1.
This commit is contained in:
James Lu 2019-08-22 19:02:59 -07:00
parent a8832a5f93
commit d3f2a370da

View File

@ -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'