[Twisted-Python] voiced/opped in twisted IRC
mike.lifeguard at gmail.com
Mon Dec 7 15:35:46 EST 2009
-----BEGIN PGP SIGNED MESSAGE-----
exarkun at twistedmatrix.com wrote:
> On 05:05 pm, mike.lifeguard at gmail.com wrote:
>> -----BEGIN PGP SIGNED MESSAGE-----
>> Hash: SHA1
>> I cannot see how to get whether a nick is voiced/opped currently in a
>> given channel in the twisted IRC framework. I see methhods of changing
>> modes, but not querying. Can this be easily done?
> This information is made available as part of the name list response.
> An op'd user has their name prefixed with "@". A voiced user has the
> "+" prefix.
So I need to do a /names each time I want to check if someone is voiced?
That seems rather inefficient.
I suppose it is also in any privmsg from them, but I don't see a way to
get that from irc_PRIVMSG. I guess I can rewrite that...
BTW, at line 417, the H/G is here/gone.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
-----END PGP SIGNATURE-----
More information about the Twisted-Python