diff options
| author | 2020-05-19 16:10:29 +0000 | |
|---|---|---|
| committer | 2020-05-19 16:10:29 +0000 | |
| commit | e34772fb70ce13270ab615cbc92c217600d40cde (patch) | |
| tree | 7f9ff81bf93406271286d6cc46eb9c361c103ad2 | |
| parent | Evaluate module paths relative to the config file or the code path (diff) | |
| signature | ||
Fix crash in IRCClientProtocol.send_messages due to missing overlongmode in unconfirmedMessages
| -rw-r--r-- | http2irc.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/http2irc.py b/http2irc.py index bd0133a..347b6ce 100644 --- a/http2irc.py +++ b/http2irc.py @@ -451,7 +451,7 @@ class IRCClientProtocol(asyncio.Protocol): self.messageQueue.putleft_nowait((channel, messages[0] + '…', overlongmode)) else: self.logger.info(f'Sending {message!r} to {channel!r}') - self.unconfirmedMessages.append((channel, message)) + self.unconfirmedMessages.append((channel, message, overlongmode)) self.send(b'PRIVMSG ' + channelB + b' :' + messageB) await asyncio.sleep(1) # Rate limit |
