twisted.words.protocols.irc.IRCClient.me() overagressively backslashes
| Newsgroups | gmane.comp.python.twisted.bugs |
|---|---|
| Message-ID | <[email protected]> |
New submission from SpaceHobo <None>: When my IRCClient-descended bot class calls: self.me(channel, r'\o/') I am presented with the following in IRC (seen with irssi): 13:00 * yardbird \\o/ It strikes me that ctcpStringify is overagressively escaping the payload somehow. Is there any way I can work around this? I'm happy to override or replace IRCClient.me() with my own method in my subclass. I've fiddled with all sorts of dequotation and quotation, but I can only get even numbers of backslashes as a result. the PRIVMSG functions do not do this. One last irk: for some reason you can only send actions to channels, while I can happily do /me in a user query window in irssi. Why the restriction? ---------- Type : defect Component: words Keywords : irc Priority : normal Nosy : ---------- http://twistedmatrix.com/trac/ticket/3978