From 3dae15d46ceba9f5e78939abeb69998a9656657e Mon Sep 17 00:00:00 2001 From: "rob rob@31f1291d-b8d6-0310-a050-a5561fc1590b" Date: Sat, 5 Aug 2006 19:04:36 +0000 Subject: BUILD : 1.7.14 (1110) BUGS : 523 NOTES : os_info.c now calls mSaveData on AnopeFini git-svn-id: svn://svn.anope.org/anope/trunk@1110 31f1291d-b8d6-0310-a050-a5561fc1590b git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@834 5417fbe8-f217-4b02-8779-1006273d7864 --- Changes | 1 + src/modules/os_info.c | 8 +++++++- version.log | 7 ++++++- 3 files changed, 14 insertions(+), 2 deletions(-) diff --git a/Changes b/Changes index 085711ee8..843bc34ab 100644 --- a/Changes +++ b/Changes @@ -54,6 +54,7 @@ Provided by Anope Dev. - 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 - 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 -- cgit