twisted.words.protocols.irc.IRCClient.me() overagressively backslashes

[email protected]
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.