chanop.py: extban awareness
Mainly $a (nickserv account) and $j (banlist from another channel).
It would be nice if I could see which people are affected by extbans.
For example if I set /mode +b $a:Dysforia I would like to know that it affects users Dysforia and Euforia who are logged in as the same name. (These two are my bots.)
Or if I am on channels #chan and #nel and #nel sets mode +b $j:#chan and #chan sets mode +b troll*!*@* I would like to see that on #nel where the user is also.
I hope I am making any sense and if I don't, but you understand anyway, please add comment with better explaining. I think that the first example makes more sense.
This could probably be made more easily now that WeeChat has account-notify support.
It seems like this would be difficult to do, you would need to hard-code the meaning of every extban on every different ircd.
For example, R: on inspircd does roughly the same thing as $a: on charybdis.
Isn't that visible in ISUPPORT or something?
Both have an EXTBAN in ISUPPORT, but not in the same format. The charybdis one is just a list of whatever ones are enabled, without requiring any form of ordering, and it seems like it’s the same for inspircd.
Anyway, that wouldn’t be too hard to do, you’d just need a dict of the supported ircd’s, and to support new ones you’d just have to add a new entry to the dict.
If no one else is working on this, I can take a shot at it.
@gildartsirc I don't think anyone is, so if you still feel like it, please do!