aboutsummaryrefslogtreecommitdiff
path: root/http2irc.py
diff options
context:
space:
mode:
authorGravatar JustAnotherArchivist2020-05-13 03:01:25 +0000
committerGravatar JustAnotherArchivist2020-05-13 03:01:25 +0000
commit6c358a207ce953d4f9dd6f593dc26677cbda35ef (patch)
tree80140e24732e45c1990af9c5174054793ab49b28 /http2irc.py
parentTrack usermask and account for it in the message splitting (diff)
signature
Clean up duplicate encoding
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 5a98c25..0be4635 100644
--- a/http2irc.py
+++ b/http2irc.py
@@ -430,7 +430,7 @@ class IRCClientProtocol(asyncio.Protocol):
else:
self.logger.info(f'Sending {message!r} to {channel!r}')
self.unconfirmedMessages.append((channel, message))
- self.send(b'PRIVMSG ' + channel.encode('utf-8') + b' :' + message.encode('utf-8'))
+ self.send(b'PRIVMSG ' + channelB + b' :' + messageB)
await asyncio.sleep(1) # Rate limit
async def confirm_messages(self):