znc/znc — pull request #705 by jpnurmi (2014-10-11 15:40:24+00:00)
Title: chansaver: write pending changes upon destruction

It's possible to kill ZNC or unload the chansaver module right after
a mode change => the changes would never be written. This could be one
of the reasons people are still experiencing #674 with the latest and
greatest development version.