mirror of
https://github.com/jlu5/PyLink.git
synced 2024-12-25 20:22:45 +01:00
ts6: recognize elemental-ircd +G (blockcaps)
This commit is contained in:
parent
bcc648adff
commit
998d57dbb3
@ -299,7 +299,8 @@ class TS6Protocol(TS6BaseProtocol):
|
|||||||
# +B (bot), +C (blocks CTCP), +D (deaf), +V (no invites), +I (hides channel list)
|
# +B (bot), +C (blocks CTCP), +D (deaf), +V (no invites), +I (hides channel list)
|
||||||
if self.irc.serverdata.get('use_elemental_modes'):
|
if self.irc.serverdata.get('use_elemental_modes'):
|
||||||
elemental_cmodes = {'hiddenbans': 'u', 'nokick': 'E',
|
elemental_cmodes = {'hiddenbans': 'u', 'nokick': 'E',
|
||||||
'kicknorejoin': 'J', 'repeat': 'K', 'nonick': 'd'}
|
'kicknorejoin': 'J', 'repeat': 'K', 'nonick': 'd',
|
||||||
|
'blockcaps': 'G'}
|
||||||
self.irc.cmodes.update(elemental_cmodes)
|
self.irc.cmodes.update(elemental_cmodes)
|
||||||
self.irc.cmodes['*D'] += ''.join(elemental_cmodes.values())
|
self.irc.cmodes['*D'] += ''.join(elemental_cmodes.values())
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user