mirror of
https://github.com/jlu5/PyLink.git
synced 2024-11-23 19:19:31 +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.
|
||||
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'}
|
||||
# Slash in nicks is problematic; while it works for basic things like JOIN and messages,
|
||||
# attempts to set user modes fail.
|
||||
self.protocol_caps |= {'slash-in-hosts', 'underscore-in-hosts'}
|
||||
|
||||
### Commands
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user