Browse Source

IRC encoding fix

master
Neil Booth 8 years ago
parent
commit
556574640f
  1. 5
      server/irc.py

5
server/irc.py

@ -70,6 +70,11 @@ class IRC(LoggedClass):
async def join(self):
import irc.client as irc_client
from jaraco.stream import buffer
# see https://pypi.python.org/pypi/irc under DecodingInput
irc_client.ServerConnection.buffer_class = \
buffer.LenientDecodingLineBuffer
reactor = irc_client.Reactor()
for event in ['welcome', 'join', 'quit', 'kick', 'whoreply',

Loading…
Cancel
Save