Disabling kick-rewrites should be possible
Kick-rewrites intercept all messages in our msg queues, even when sent directly from Tcl, to rewrite kicks (for tracking nick-changes). Disabling it completely should make Eggdrop not rewrite the queues. It still does though, and removes kicks of people who are not on the channel. This conflicts scripts that try to send a kick (directly, via putserv). Example scenario is a script supporting +D (invisible users) on ircu.
Found by: Empus
Regarding #1307 purge_kicks() is only executed when optimize-kicks is set to 2:
https://github.com/eggheads/eggdrop/blob/028e756076537d7199e152fec29f70db669f67ae/src/mod/server.mod/server.c#L721-L722
So, what should we do with this issue?
-
Can the bot detect if the irc server it is on supports +D (invisible users) and should it warn if optimize-kicks is set to 2 in this case?
-
Does the bot really optimize out kicks when optimize-kicks is set to 0? In this case we need to find out where this happens, for it does not happen via
purge_kicks()