Ticket #4915: Twisted-better.diff
| File Twisted-better.diff, 0.9 KB (added by devinj, 2 years ago) |
|---|
-
Twisted/twisted/words/service.py
515 515 targetName = params[0].decode(self.encoding) 516 516 except UnicodeDecodeError: 517 517 self.sendMessage( 518 irc.ERR_NOSUCHNICK, targetName,518 irc.ERR_NOSUCHNICK, params[0], 519 519 ":No such nick/channel (could not decode your unicode!)") 520 520 return 521 521 … … 546 546 groupName = params[0].decode(self.encoding) 547 547 except UnicodeDecodeError: 548 548 self.sendMessage( 549 irc. IRC_NOSUCHCHANNEL, params[0],549 irc.ERR_NOSUCHCHANNEL, params[0], 550 550 ":No such channel (could not decode your unicode!)") 551 551 return 552 552
