IRC encoding fix
This commit is contained in:
parent
04369dd228
commit
556574640f
@ -70,6 +70,11 @@ class IRC(LoggedClass):
|
|||||||
|
|
||||||
async def join(self):
|
async def join(self):
|
||||||
import irc.client as irc_client
|
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()
|
reactor = irc_client.Reactor()
|
||||||
for event in ['welcome', 'join', 'quit', 'kick', 'whoreply',
|
for event in ['welcome', 'join', 'quit', 'kick', 'whoreply',
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user