aboutsummaryrefslogtreecommitdiff
path: root/http2irc.py
diff options
context:
space:
mode:
authorGravatar JustAnotherArchivist2020-05-19 16:10:29 +0000
committerGravatar JustAnotherArchivist2020-05-19 16:10:29 +0000
commite34772fb70ce13270ab615cbc92c217600d40cde (patch)
tree7f9ff81bf93406271286d6cc46eb9c361c103ad2 /http2irc.py
parentEvaluate 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
Diffstat (limited to 'http2irc.py')
-rw-r--r--http2irc.py2
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