mirror of
https://github.com/jlu5/PyLink.git
synced 2024-11-30 14:49:28 +01:00
ircs2s_common: expand PUIDs in squit()
This fixes SQUIT not working correctly on ngIRCd.
This commit is contained in:
parent
f74b34e99b
commit
e25f6fd470
@ -480,7 +480,7 @@ class IRCS2SProtocol(IRCCommonProtocol):
|
|||||||
"""SQUITs a PyLink server."""
|
"""SQUITs a PyLink server."""
|
||||||
# -> SQUIT 9PZ :blah, blah
|
# -> SQUIT 9PZ :blah, blah
|
||||||
log.debug('(%s) squit: source=%s, target=%s', self.name, source, target)
|
log.debug('(%s) squit: source=%s, target=%s', self.name, source, target)
|
||||||
self._send_with_prefix(source, 'SQUIT %s :%s' % (target, text))
|
self._send_with_prefix(source, 'SQUIT %s :%s' % (self._expandPUID(target), text))
|
||||||
self.handle_squit(source, 'SQUIT', [target, text])
|
self.handle_squit(source, 'SQUIT', [target, text])
|
||||||
|
|
||||||
def topic(self, source, target, text):
|
def topic(self, source, target, text):
|
||||||
|
Loading…
Reference in New Issue
Block a user