aboutsummaryrefslogtreecommitdiff
path: root/src/ban.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/ban.cpp')
-rw-r--r--src/ban.cpp9
1 files changed, 3 insertions, 6 deletions
diff --git a/src/ban.cpp b/src/ban.cpp
index 5fa430702..7a7fb8c3c 100644
--- a/src/ban.cpp
+++ b/src/ban.cpp
@@ -28,14 +28,11 @@ with this program; if not, write to the Free Software Foundation, Inc.,
#include "filesys.h"
BanManager::BanManager(const std::string &banfilepath):
- m_banfilepath(banfilepath),
- m_modified(false)
+ m_banfilepath(banfilepath)
{
- try{
+ try {
load();
- }
- catch(SerializationError &e)
- {
+ } catch(SerializationError &e) {
warningstream<<"BanManager: creating "
<<m_banfilepath<<std::endl;
}