AutoCycle calls CChan::Cycle() which sends a PART and a JOIN for that channel. When ZNC receives the PART reply it deletes that channel (IRCSock calls CUser::DelChan() which btw seems to leak memory). (Not tested, just assumed)
So not only the channel's buffer but all settings get lost. I know no easy fix for this.
We could add a m_bDeleted to CChannel which is set to true instead of deleting the channel. But when do we then delete the channel?
psychon
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
[13:57:48] <CNU_> {11:24:02} i think i found bug!
[13:57:48] <CNU_> {11:24:16} because on efnet
[13:57:48] <CNU_> {11:24:20} when irc server spit
[13:57:48] <CNU_> {11:24:21} split
[13:57:48] <CNU_> {11:24:21} i'm alone in channel
[13:57:48] <CNU_> {11:24:23} and znc tries reconnect
[13:57:48] <CNU_> {11:24:23} to get op
[13:57:48] <CNU_> {11:24:30} but irc server says channel is temporarily unavilable
[13:57:48] <CNU_> {11:24:35} and then
[13:57:48] <CNU_> {11:24:40} the channel is no morein *status listchans!!
[13:57:48] <CNU_> {11:24:54} c'est cool?
[13:57:48] <CNU> {11:43:51} *reconnect=part/join/hop!
same issue
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
This is half-fixed in latest release.
AutoCycle was removed from core and moved into a module so we get less people accidentally using this.
Thanks to kroimon. :)
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Logged In: YES
user_id=1654410
Originator: NO
This is indeed a bug.
AutoCycle calls CChan::Cycle() which sends a PART and a JOIN for that channel. When ZNC receives the PART reply it deletes that channel (IRCSock calls CUser::DelChan() which btw seems to leak memory). (Not tested, just assumed)
So not only the channel's buffer but all settings get lost. I know no easy fix for this.
We could add a m_bDeleted to CChannel which is set to true instead of deleting the channel. But when do we then delete the channel?
psychon
Logged In: YES
user_id=1654410
Originator: NO
[13:57:48] <CNU_> {11:24:02} i think i found bug!
[13:57:48] <CNU_> {11:24:16} because on efnet
[13:57:48] <CNU_> {11:24:20} when irc server spit
[13:57:48] <CNU_> {11:24:21} split
[13:57:48] <CNU_> {11:24:21} i'm alone in channel
[13:57:48] <CNU_> {11:24:23} and znc tries reconnect
[13:57:48] <CNU_> {11:24:23} to get op
[13:57:48] <CNU_> {11:24:30} but irc server says channel is temporarily unavilable
[13:57:48] <CNU_> {11:24:35} and then
[13:57:48] <CNU_> {11:24:40} the channel is no morein *status listchans!!
[13:57:48] <CNU_> {11:24:54} c'est cool?
[13:57:48] <CNU> {11:43:51} *reconnect=part/join/hop!
same issue
This is half-fixed in latest release.
AutoCycle was removed from core and moved into a module so we get less people accidentally using this.
Thanks to kroimon. :)