#3978 defect new
twisted.words.protocols.irc.IRCClient.describe() overagressively backslashes
|Reported by:||SpaceHobo||Owned by:||Upasana Shukla|
|Cc:||Thijs Triemstra, Upasana Shukla||Branch:|
Description (last modified by )
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?
Change History (14)
comment:4 Changed 6 years ago by
|Cc:||Thijs Triemstra added|
|Status:||new → closed|
comment:6 Changed 6 years ago by
|Summary:||twisted.words.protocols.irc.IRCClient.me() overagressively backslashes → twisted.words.protocols.irc.IRCClient.describe() overagressively backslashes|
comment:7 Changed 4 years ago by
|Cc:||Upasana Shukla added|
|Owner:||set to Upasana Shukla|
|Status:||reopened → new|
comment:12 Changed 4 years ago by
|Owner:||changed from acapnotic to Upasana Shukla|
|Status:||assigned → new|