3
0
mirror of https://github.com/jlu5/PyLink.git synced 2024-12-24 19:52:53 +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

@ -390,8 +390,12 @@ class InspIRCdProtocol(TS6BaseProtocol):
# name it anything you like. The former is config default,
# but I personally prefer the latter.
name = 'owner'
if name == 'c_registered':
# Be consistent with other protocols
name = 'registered'
# We don't really care about mode prefixes; just the mode char
# We don't care about mode prefixes; just the mode char.
self.irc.cmodes[name] = char[-1]