aboutsummaryrefslogtreecommitdiff
path: root/src/ban.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/ban.cpp')
-rw-r--r--src/ban.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ban.cpp b/src/ban.cpp
index f9d32b605..25d7f4ccb 100644
--- a/src/ban.cpp
+++ b/src/ban.cpp
@@ -88,7 +88,7 @@ void BanManager::save()
if(!fs::safeWriteToFile(m_banfilepath, ss.str())) {
infostream<<"BanManager: failed saving to "<<m_banfilepath<<std::endl;
- throw SerializationError("BanManager::load(): Couldn't write file");
+ throw SerializationError("BanManager::save(): Couldn't write file");
}
m_modified = false;