3
0
mirror of https://github.com/jlu5/PyLink.git synced 2024-12-25 12:12:53 +01:00

ircs2s_common: implicitly expand PUIDs in _send_with_prefix

This commit is contained in:
James Lu 2017-07-03 00:13:17 -07:00
parent 78034096a8
commit 8bf65f3820

View File

@ -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):
"""