3
0
mirror of https://github.com/jlu5/PyLink.git synced 2024-11-24 03:29:28 +01:00

inspircd: alias antiredirect (umode +L) to noforward

This commit is contained in:
James Lu 2019-12-29 10:02:02 -08:00
parent 34cd0ea7d5
commit 6e1352dfd3

View File

@ -596,6 +596,9 @@ class InspIRCdProtocol(TS6BaseProtocol):
if name == 'reginvite': # Reginvite? That's an odd name. if name == 'reginvite': # Reginvite? That's an odd name.
name = 'regonly' name = 'regonly'
if name == 'antiredirect': # User mode +L
name = 'noforward'
if name == 'founder': # Channel mode +q if name == 'founder': # Channel mode +q
# Founder, owner; same thing. m_customprefix allows you to name it anything you like, # Founder, owner; same thing. m_customprefix allows you to name it anything you like,
# but PyLink uses the latter in its definitions # but PyLink uses the latter in its definitions