mirror of
https://github.com/jlu5/PyLink.git
synced 2024-11-01 09:19:23 +01:00
ircs2s_common: implicitly expand PUIDs in _send_with_prefix
This commit is contained in:
parent
78034096a8
commit
8bf65f3820
@ -165,7 +165,7 @@ class IRCCommonProtocol(IRCNetwork):
|
||||
|
||||
def _send_with_prefix(self, source, msg, **kwargs):
|
||||
"""Sends a RFC 459-style raw command from the given sender."""
|
||||
self.send(':%s %s' % (source, msg), **kwargs)
|
||||
self.send(':%s %s' % (self._expandPUID(source), msg), **kwargs)
|
||||
|
||||
def _expandPUID(self, uid):
|
||||
"""
|
||||
|
Loading…
Reference in New Issue
Block a user