3
0
mirror of https://github.com/jlu5/PyLink.git synced 2024-11-27 21:19:31 +01:00

inspircd: normalize chmode +r name

This should be "registered", not "c_registered" in order to be consistent with other protocols.
This commit is contained in:
James Lu 2016-04-09 18:25:17 -07:00
parent 0ccdf4cfce
commit 38e098aef4

View File

@ -391,7 +391,11 @@ class InspIRCdProtocol(TS6BaseProtocol):
# but I personally prefer the latter.
name = 'owner'
# We don't really care about mode prefixes; just the mode char
if name == 'c_registered':
# Be consistent with other protocols
name = 'registered'
# We don't care about mode prefixes; just the mode char.
self.irc.cmodes[name] = char[-1]