3
0
mirror of https://github.com/jlu5/PyLink.git synced 2025-01-12 05:02:33 +01:00

ngircd: set slash-in-hosts, slash-in-nicks, underscore-in-hosts capabilities

This commit is contained in:
James Lu 2017-07-07 02:46:14 -07:00
parent 57c86c6d25
commit 67a414fa2a

View File

@ -34,6 +34,9 @@ class NgIRCdProtocol(IRCS2SProtocol):
# ngIRCd has no TS tracking.
self.protocol_caps.discard('has-ts')
# It is, however, flexible about nicks and hosts.
self.protocol_caps |= {'slash-in-hosts', 'slash-in-nicks', 'underscore-in-hosts'}
### Commands
def post_connect(self):