mirror of
https://github.com/jlu5/PyLink.git
synced 2025-02-25 18:00:39 +01:00
ts6_common, p10: declare protocol cap has-statusmsg
This commit is contained in:
parent
d81a9cd5c3
commit
16b491fdab
@ -166,7 +166,8 @@ class P10Protocol(IRCS2SProtocol):
|
|||||||
'WALLCHOPS': 'NOTICE', 'WALLHOPS': 'NOTICE',
|
'WALLCHOPS': 'NOTICE', 'WALLHOPS': 'NOTICE',
|
||||||
'WALLVOICES': 'NOTICE'}
|
'WALLVOICES': 'NOTICE'}
|
||||||
|
|
||||||
self.protocol_caps |= {'slash-in-hosts', 'underscore-in-hosts'}
|
self.protocol_caps |= {'slash-in-hosts', 'underscore-in-hosts',
|
||||||
|
'has-statusmsg'}
|
||||||
|
|
||||||
# OPMODE is like SAMODE on other IRCds, and it follows the same modesetting syntax.
|
# OPMODE is like SAMODE on other IRCds, and it follows the same modesetting syntax.
|
||||||
self.handle_opmode = self.handle_mode
|
self.handle_opmode = self.handle_mode
|
||||||
|
@ -107,6 +107,11 @@ class TS6BaseProtocol(IRCS2SProtocol):
|
|||||||
# SID generator for TS6.
|
# SID generator for TS6.
|
||||||
self.sidgen = TS6SIDGenerator(self)
|
self.sidgen = TS6SIDGenerator(self)
|
||||||
|
|
||||||
|
# Most TS6 variations (unreal, inspircd, charybdis) support this. For
|
||||||
|
# pure TS6, we also require the CHW capability which explicitly declares
|
||||||
|
# support.
|
||||||
|
self.protocol_caps |= {'has-statusmsg'}
|
||||||
|
|
||||||
### OUTGOING COMMANDS
|
### OUTGOING COMMANDS
|
||||||
|
|
||||||
def kill(self, numeric, target, reason):
|
def kill(self, numeric, target, reason):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user