mirror of
https://github.com/jlu5/PyLink.git
synced 2024-11-01 01:09:22 +01:00
Fix SQUIT handling from 2f1a338
This commit is contained in:
parent
387d47808c
commit
de618393c0
@ -1284,7 +1284,7 @@ class Protocol():
|
||||
if data.uplink == split_server:
|
||||
log.debug('Server %s also hosts server %s, removing those users too...', split_server, sid)
|
||||
# Recursively run SQUIT on any other hubs this server may have been connected to.
|
||||
args = self.handle_squit(sid, 'SQUIT', [sid, "0",
|
||||
args = self._squit(sid, 'SQUIT', [sid, "0",
|
||||
"PyLink: Automatically splitting leaf servers of %s" % sid])
|
||||
affected_users += args['users']
|
||||
|
||||
|
@ -42,7 +42,7 @@ class IRCS2SProtocol(Protocol):
|
||||
|
||||
def handle_squit(self, numeric, command, args):
|
||||
"""Handles incoming SQUITs."""
|
||||
return _squit(numeric, command, args)
|
||||
return self._squit(numeric, command, args)
|
||||
|
||||
def handle_away(self, numeric, command, args):
|
||||
"""Handles incoming AWAY messages."""
|
||||
|
Loading…
Reference in New Issue
Block a user