diff options
| author | Adam- <Adam-@5417fbe8-f217-4b02-8779-1006273d7864> | 2010-03-16 05:52:00 +0000 |
|---|---|---|
| committer | Adam- <Adam-@5417fbe8-f217-4b02-8779-1006273d7864> | 2010-03-16 05:52:00 +0000 |
| commit | 01994c1ba1ee30352e0ba6a5ff2e9d959dd63f25 (patch) | |
| tree | 0ed61967e94769069be8cc5d5b27371ac1f38a0a | |
| parent | ec7bc8dd41c9c138457473ced5f71ef01b9c4b70 (diff) | |
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
| -rw-r--r-- | src/modules/os_info.c | 3 | ||||
| -rw-r--r-- | 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 |
