summaryrefslogtreecommitdiff
path: root/src/resources/db
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-08-25 17:51:10 +0300
committerAndrei Karas <akaras@inbox.ru>2016-08-25 17:51:10 +0300
commitfc52464414c7e77e77c3f08a089ad0ad5a350c71 (patch)
tree1701a08fb670fbeca6a1a01a0a521b7a54d3fb00 /src/resources/db
parent76d29de34885538c1e906d9756e677d668d49fe0 (diff)
downloadmanaplus-fc52464414c7e77e77c3f08a089ad0ad5a350c71.tar.gz
manaplus-fc52464414c7e77e77c3f08a089ad0ad5a350c71.tar.bz2
manaplus-fc52464414c7e77e77c3f08a089ad0ad5a350c71.tar.xz
manaplus-fc52464414c7e77e77c3f08a089ad0ad5a350c71.zip
Fix stats page removing while switching servers.
Diffstat (limited to 'src/resources/db')
-rw-r--r--src/resources/db/statdb.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/resources/db/statdb.cpp b/src/resources/db/statdb.cpp
index ac5aed781..abb387711 100644
--- a/src/resources/db/statdb.cpp
+++ b/src/resources/db/statdb.cpp
@@ -230,5 +230,6 @@ void StatDb::unload()
mBasicStats.clear();
mStats.clear();
+ mPages.clear();
mLoaded = false;
}