diff options
Diffstat (limited to 'src/configmanager.cpp')
-rw-r--r-- | src/configmanager.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/configmanager.cpp b/src/configmanager.cpp index 94175341c..cd0185627 100644 --- a/src/configmanager.cpp +++ b/src/configmanager.cpp @@ -42,7 +42,7 @@ static void setDefaultOption(const char *const name, const bool def) { - int val = serverConfig.getValue(name, -1); + const int val = serverConfig.getValue(name, -1); if (val == -1) serverConfig.setValue(name, def); } |