|
|
@@ -353,6 +353,8 @@ class IRCClientProtocol(asyncio.Protocol): |
|
|
|
|
|
|
|
def send(self, data): |
|
|
|
self.logger.debug(f'Send: {data!r}') |
|
|
|
if len(data) > 510: |
|
|
|
raise RuntimeError(f'IRC message too long ({len(data)} > 510): {data!r}') |
|
|
|
self.transport.write(data + b'\r\n') |
|
|
|
|
|
|
|
async def _get_message(self): |
|
|
|