Ticket #3978 defect new
twisted.words.protocols.irc.IRCClient.describe() overagressively backslashes
|Reported by:||SpaceHobo||Owned by:||Upasana|
Description (last modified by thijs) (diff)
When my IRCClient-descended bot class calls:
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?