mirror of
https://github.com/anope/anope.git
synced 2026-07-07 07:13:12 +02:00
Don't save databases when rehashed or shutdown from anoperc when in readonly mode
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/stable@2855 5417fbe8-f217-4b02-8779-1006273d7864
This commit is contained in:
@@ -145,6 +145,8 @@ extern void expire_all(void)
|
||||
|
||||
void save_databases(void)
|
||||
{
|
||||
if (readonly)
|
||||
return;
|
||||
waiting = -19;
|
||||
send_event(EVENT_DB_SAVING, 1, EVENT_START);
|
||||
waiting = -2;
|
||||
|
||||
+2
-1
@@ -9,10 +9,11 @@ VERSION_MAJOR="1"
|
||||
VERSION_MINOR="8"
|
||||
VERSION_PATCH="3"
|
||||
VERSION_EXTRA="-svn"
|
||||
VERSION_BUILD="2853"
|
||||
VERSION_BUILD="2855"
|
||||
|
||||
# $Log$ # Changes since 1.8.3 Release
|
||||
|
||||
#Revision 2855 - Don't save databases when rehashed or shutdown from anoperc when in readonly mode
|
||||
#Revision 2843 - Fixed catserv module demo to work correctly on TS6 IRCds
|
||||
#Revision 2842 - Fixed bug #1149 - Number memos in MySQL correctly
|
||||
#Revision 2841 - Fixed bugs #1146 and #1147 - Fixed check_modes to only apply defcon settings when defcon is actually on
|
||||
|
||||
Reference in New Issue
Block a user