mirror of
https://github.com/jlu5/PyLink.git
synced 2024-11-27 21:19:31 +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',
|
||||
'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.
|
||||
self.handle_opmode = self.handle_mode
|
||||
|
@ -107,6 +107,11 @@ class TS6BaseProtocol(IRCS2SProtocol):
|
||||
# SID generator for TS6.
|
||||
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
|
||||
|
||||
def kill(self, numeric, target, reason):
|
||||
|
Loading…
Reference in New Issue
Block a user