mirror of
https://github.com/jlu5/PyLink.git
synced 2024-11-27 21:19:31 +01:00
inspircd: don't allow _ in hosts
CHGHOST on InspIRCd 2.0 does not see this as valid.
This commit is contained in:
parent
a9f59307c9
commit
ac8b7babf1
@ -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'
|
||||
|
Loading…
Reference in New Issue
Block a user