mirror of
https://github.com/jlu5/PyLink.git
synced 2025-02-02 23:54:08 +01:00
protocols: tweak mode type definitions
This commit is contained in:
parent
8fec778b9b
commit
7ff5f47064
@ -813,7 +813,7 @@ class P10Protocol(IRCS2SProtocol):
|
|||||||
'*A': 'b', '*B': 'AUk', '*C': 'l', '*D': 'imnpstrDdRcC'}
|
'*A': 'b', '*B': 'AUk', '*C': 'l', '*D': 'imnpstrDdRcC'}
|
||||||
self.irc.umodes.update({'servprotect': 'k', 'sno_debug': 'g', 'cloak': 'x',
|
self.irc.umodes.update({'servprotect': 'k', 'sno_debug': 'g', 'cloak': 'x',
|
||||||
'deaf': 'd', 'registered': 'r', 'locop': 'O',
|
'deaf': 'd', 'registered': 'r', 'locop': 'O',
|
||||||
'*A': '', '*B': '', '*C': '', '*D': 'imnpstrkgxdrO'})
|
'*A': '', '*B': '', '*C': '', '*D': 'imnpstrkgxdO'})
|
||||||
|
|
||||||
if self.irc.serverdata.get('use_halfop'):
|
if self.irc.serverdata.get('use_halfop'):
|
||||||
cmodes['halfop'] = 'h'
|
cmodes['halfop'] = 'h'
|
||||||
|
@ -26,7 +26,7 @@ class RatboxProtocol(TS6Protocol):
|
|||||||
'*A': 'beI',
|
'*A': 'beI',
|
||||||
'*B': 'k',
|
'*B': 'k',
|
||||||
'*C': 'l',
|
'*C': 'l',
|
||||||
'*D': 'imnpstr'}
|
'*D': 'imnpstrS'}
|
||||||
|
|
||||||
self.irc.umodes = {
|
self.irc.umodes = {
|
||||||
'invisible': 'i', 'callerid': 'g', 'oper': 'o', 'admin': 'a', 'sno_botfloods': 'b',
|
'invisible': 'i', 'callerid': 'g', 'oper': 'o', 'admin': 'a', 'sno_botfloods': 'b',
|
||||||
|
Loading…
Reference in New Issue
Block a user