]> git.donarmstrong.com Git - infobot.git/blobdiff - src/core.pl
- write user/chan file in 'shutdown'
[infobot.git] / src / core.pl
index 14b8184ac66f14baaace6bf7d1c2d29fae36cade..b075235c7b9d8c023b1b5eaed393e6053d9e654f 100644 (file)
@@ -345,6 +345,9 @@ sub shutdown {
     &closeDB();
     &closeSHM($shm);   # aswell. TODO: use this in &doExit?
     &closeLog();
+    ### is this valid?
+    &writeUserFile();
+    &writeChanFile();
 }
 
 sub restart {