mirror of
https://github.com/lalbornoz/roar.git
synced 2024-11-26 00:46:38 +00:00
IrcClient.py:IrcClient.connect(): explicitly pass encoding="utf-8" to clientSocket.makeFile().
This commit is contained in:
parent
d93e1fecda
commit
0259662a4e
@ -52,7 +52,7 @@ class IrcClient:
|
|||||||
self.close(); return False;
|
self.close(); return False;
|
||||||
else:
|
else:
|
||||||
select.select([], [self.clientSocket.fileno()], [])
|
select.select([], [self.clientSocket.fileno()], [])
|
||||||
self.clientSocketFile = self.clientSocket.makefile()
|
self.clientSocketFile = self.clientSocket.makefile(encoding="utf-8")
|
||||||
self.clientQueue = []
|
self.clientQueue = []
|
||||||
self.queue("NICK", self.clientNick)
|
self.queue("NICK", self.clientNick)
|
||||||
self.queue("USER", self.clientIdent, "0", "0", self.clientGecos)
|
self.queue("USER", self.clientIdent, "0", "0", self.clientGecos)
|
||||||
|
Loading…
Reference in New Issue
Block a user