From 01994c1ba1ee30352e0ba6a5ff2e9d959dd63f25 Mon Sep 17 00:00:00 2001 From: Adam- Date: Tue, 16 Mar 2010 05:52:00 +0000 Subject: Fixed os_info to backup its databases properly with the now-working ModuleDatabaseBackup function git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/stable@2815 5417fbe8-f217-4b02-8779-1006273d7864 --- src/modules/os_info.c | 3 ++- version.log | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/src/modules/os_info.c b/src/modules/os_info.c index 6ee45ce33..7f9e639cc 100644 --- a/src/modules/os_info.c +++ b/src/modules/os_info.c @@ -459,7 +459,8 @@ int mSaveData(int argc, char **argv) **/ int mBackupData(int argc, char **argv) { - ModuleDatabaseBackup(OSInfoDBName); + if (argc >= 1 && !stricmp(argv[0], EVENT_START)) + ModuleDatabaseBackup(OSInfoDBName); return MOD_CONT; } diff --git a/version.log b/version.log index 296fdacc9..c4101e666 100644 --- a/version.log +++ b/version.log @@ -9,10 +9,11 @@ VERSION_MAJOR="1" VERSION_MINOR="8" VERSION_PATCH="3" VERSION_EXTRA="-svn" -VERSION_BUILD="2813" +VERSION_BUILD="2815" # $Log$ # Changes since 1.8.3 Release +#Revision 2815 - Fixed os_info to backup its databases properly with the now-working ModuleDatabaseBackup function #Revision 2811 - Fixed bug #1140 - Made ModuleDatabaseBackup() not fail when multiple modules want to back up their databases #Revision 2810 - Fixed bug #1139 - Delete the correct nicks from hs_request database when they are dropped #Revision 2809 - Fixed bug #1138 - Fix maximum hostname length checking in hs_request -- cgit