mirror of
https://github.com/jlu5/PyLink.git
synced 2024-12-25 04:02:45 +01:00
ts6: rename self.caps to self._caps
This commit is contained in:
parent
3d3300e542
commit
1a24bc19af
@ -233,7 +233,7 @@ class TS6Protocol(TS6BaseProtocol):
|
||||
|
||||
def knock(self, numeric, target, text):
|
||||
"""Sends a KNOCK from a PyLink client."""
|
||||
if 'KNOCK' not in self.caps:
|
||||
if 'KNOCK' not in self._caps:
|
||||
log.debug('(%s) knock: Dropping KNOCK to %r since the IRCd '
|
||||
'doesn\'t support it.', self.name, target)
|
||||
return
|
||||
@ -424,7 +424,7 @@ class TS6Protocol(TS6BaseProtocol):
|
||||
# We only get a list of keywords here. Charybdis obviously assumes that
|
||||
# we know what modes it supports (indeed, this is a standard list).
|
||||
# <- CAPAB :BAN CHW CLUSTER ENCAP EOPMOD EUID EX IE KLN KNOCK MLOCK QS RSFNC SAVE SERVICES TB UNKLN
|
||||
self.caps = caps = args[0].split()
|
||||
self._caps = caps = args[0].split()
|
||||
|
||||
for required_cap in self.required_caps:
|
||||
if required_cap not in caps:
|
||||
|
Loading…
Reference in New Issue
Block a user