ElementalAlchemist / txircd

Modular IRCd built using Twisted. Made to be extremely customizable.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

chanserv-registered channels still give op to first joiner

ekimekim opened this issue · comments

When a channel is created that is registered by chanserv, the first joiner gets +o and stuff when they probably shouldn't. But I don't know how to prevent it.

Sounds like you'll need to hook into the channelcreate action for that. However, channel_defaultmodes not only sets default channel modes, but also a status mode on the first person who joins. Not sure if those should be split or if there's a better solution.

On channelcreate, the only user in the channel will be the user who created it (and who got the status).

So what are you suggesting? That we allow the user to receive op status, then strip it later in the same action?

I believe that is what most services do.

I could look into this tonight when I start debugging to find out what the current issues with autostatus are.