mirror of
https://github.com/jlu5/PyLink.git
synced 2024-12-24 11:42:51 +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)
|
||||
if self.irc.serverdata.get('use_elemental_modes'):
|
||||
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['*D'] += ''.join(elemental_cmodes.values())
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user