mirror of
https://github.com/jlu5/PyLink.git
synced 2024-11-01 09:19:23 +01:00
ngircd: disable slash-in-nicks
This breaks user mode changes, as it is one of the only commands to undergo nick validation when received from a remote server.
This commit is contained in:
parent
5c981c83b1
commit
2d2b524a63
@ -32,8 +32,9 @@ class NgIRCdProtocol(IRCS2SProtocol):
|
|||||||
# ngIRCd has no TS tracking.
|
# ngIRCd has no TS tracking.
|
||||||
self.protocol_caps.discard('has-ts')
|
self.protocol_caps.discard('has-ts')
|
||||||
|
|
||||||
# It is, however, flexible about nicks and hosts.
|
# Slash in nicks is problematic; while it works for basic things like JOIN and messages,
|
||||||
self.protocol_caps |= {'slash-in-hosts', 'slash-in-nicks', 'underscore-in-hosts'}
|
# attempts to set user modes fail.
|
||||||
|
self.protocol_caps |= {'slash-in-hosts', 'underscore-in-hosts'}
|
||||||
|
|
||||||
### Commands
|
### Commands
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user