summaryrefslogtreecommitdiff
path: root/src/spellmanager.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/spellmanager.cpp')
-rw-r--r--src/spellmanager.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/spellmanager.cpp b/src/spellmanager.cpp
index 7de8070ef..34fe739a5 100644
--- a/src/spellmanager.cpp
+++ b/src/spellmanager.cpp
@@ -322,9 +322,9 @@ void SpellManager::load()
#define setOrDel(str, method) \
const std::string var##method = spell->method(); \
if (!var##method.empty()) \
- serverConfig.setValue(str + toString(i), var##method); \
+ serverConfig.setValue((str) + toString(i), var##method); \
else \
- serverConfig.deleteKey(str + toString(i));
+ serverConfig.deleteKey((str) + toString(i));
void SpellManager::save() const
{