Skip to content

Commit 46c13aa

Browse files
committed
Re-add , "replace" to output encoding
1 parent 0e2d9ef commit 46c13aa

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

cloudbot/clients/irc.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -278,7 +278,7 @@ def send(self, line):
278278
if not self._connected:
279279
yield from self._connected_future
280280
line = line[:500] + "\r\n"
281-
data = line.encode("utf-8")
281+
data = line.encode("utf-8", "replace")
282282
self._transport.write(data)
283283

284284
def data_received(self, data):

0 commit comments

Comments
 (0)