Stickychan module does not save changes to disk when unsticking a channel #699

Open
opened 2026-10-05 04:39:25 +02:00 by adam · 1 comment
Owner

I'm not sure when the stickychan module saves changes to disk, (Apparently stickychan saves only when sticking a channel) but after experiencing crashes due to other issues I reported, I've noticed that stickychan loads up channels I've unstickied some time ago. I've only been able to observe it saving to disk when I manage channels via the webpanel.

Version ZNC 1.6.2+cygwin2, Windows Server 2012 R2

--- Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/33134000-stickychan-module-does-not-save-changes-to-disk-when-unsticking-a-channel?utm_campaign=plugin&utm_content=tracker%2F1759&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F1759&utm_medium=issues&utm_source=github).
~~I'm not sure when the stickychan module saves changes to disk,~~ (Apparently stickychan saves only when sticking a channel) but after experiencing crashes due to other issues I reported, I've noticed that stickychan loads up channels I've unstickied some time ago. I've only been able to observe it saving to disk when I manage channels via the webpanel. Version ZNC 1.6.2+cygwin2, Windows Server 2012 R2 ## <bountysource-plugin> --- Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/33134000-stickychan-module-does-not-save-changes-to-disk-when-unsticking-a-channel?utm_campaign=plugin&utm_content=tracker%2F1759&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F1759&utm_medium=issues&utm_source=github). </bountysource-plugin> <!-- github-sync-id:149624576 -->
Author
Owner

I've only been able to observe it saving to disk when I manage channels via the webpanel.

ZNC only saves everything when you /znc saveconfig or change the config with webadmin or ZNC quites cleanly, so I think this issue is invalid in it's current form.

Better form could be "Save config time to time" or "Save config every user-specified time".

Related: https://github.com/znc/znc/issues/1246#issuecomment-189851688 (save config after update).

> I've only been able to observe it saving to disk when I manage channels via the webpanel. ZNC only saves everything when you `/znc saveconfig` or change the config with webadmin or ZNC quites cleanly, so I think this issue is invalid in it's current form. Better form could be "Save config time to time" or "Save config every user-specified time". Related: https://github.com/znc/znc/issues/1246#issuecomment-189851688 (save config after update). <!-- github-comment-id:212412802 -->
Sign in to join this conversation.
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: adam/znc#699