diff options
-rw-r--r-- | Changes | 1 | ||||
-rw-r--r-- | src/modules/os_info.c | 8 | ||||
-rw-r--r-- | version.log | 7 |
3 files changed, 14 insertions, 2 deletions
@@ -54,6 +54,7 @@ Provided by Anope Dev. <dev@anope.org> - 2006 08/04 F Various small fixes for Charybdis. [#561] 08/04 F Autovoice for unregistered users works again. [#569] 08/05 F Support for SVSJOIN/SVSPART/SWHOIS in protocol modules. [#566] +08/05 F os_info save on unload. [#523] Provided by ThaPrince <jon@vile.com> - 2006 05/19 A Plexus 3 support. [ #00] diff --git a/src/modules/os_info.c b/src/modules/os_info.c index bbb308535..e1af20d8c 100644 --- a/src/modules/os_info.c +++ b/src/modules/os_info.c @@ -116,6 +116,12 @@ int AnopeInit(int argc, char **argv) **/ void AnopeFini(void) { + char *av[1]; + + av[0] = sstrdup(EVENT_START); + mSaveData(1, av); + free(av[0]); + if (OSInfoDBName) free(OSInfoDBName); } @@ -403,7 +409,7 @@ int mSaveData(int argc, char **argv) int i = 0; int ret = 0; FILE *out; - char *info = NULL; + char *info = NULL; if (argc >= 1) { if (!stricmp(argv[0], EVENT_START)) { diff --git a/version.log b/version.log index d2a399777..01c965b84 100644 --- a/version.log +++ b/version.log @@ -9,10 +9,15 @@ VERSION_MAJOR="1" VERSION_MINOR="7" VERSION_PATCH="14" VERSION_EXTRA="" -VERSION_BUILD="1109" +VERSION_BUILD="1110" # $Log$ # +# BUILD : 1.7.14 (1110) +# BUGS : 523 +# NOTES : os_info.c now calls mSaveData on AnopeFini +# +# # BUILD : 1.7.14 (1109) # BUGS : 566 # NOTES : Finished support for SVSJOIN/SVSPART/SWHOIS in ircd modules |