Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

KICK optimization interfers with queued messages even if optimize-kicks is turned off #1307

Closed
thommey opened this issue Jul 18, 2022 · 1 comment

Comments

@thommey
Copy link
Member

thommey commented Jul 18, 2022

It is somewhat okay that putkick, like pushmode, check channel membership before executing their action. They are documented as such.

The optimize-kicks setting promises to group kicks together (max-kicks) but I would expect it only to be optimized with putkick, like pushmode.

However, eggdrop is far more invasive with kicks. It actively goes through queued messages (putserv/putquick/puthelp), parses those, finds the ones that KICK someone and applies logic to that, for example purge_kicks().

IMHO Eggdrop should not parse and mess with putserv messages at all, kick optimization should be restricted to putkick (like pushmode).
Alternatively, optimize-kicks 0 should at least turn this invasive operation off.

Background is that networks with hidden users (ircu +D delayed join) want to execute that kick if scripts take care of tracking users themselves.

Found by: Empus

@thommey
Copy link
Member Author

thommey commented Sep 12, 2022

Duplicate of #969

@thommey thommey marked this as a duplicate of #969 Sep 12, 2022
@thommey thommey closed this as not planned Won't fix, can't repro, duplicate, stale Sep 12, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant