summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/CRSMConfig.hpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/CRSMConfig.hpp b/src/CRSMConfig.hpp
index 7c3ccf1..c6c072d 100644
--- a/src/CRSMConfig.hpp
+++ b/src/CRSMConfig.hpp
@@ -168,7 +168,7 @@ public:
ValueType valueVal;
CRSMConfigValue<ValueType> valueConfigValue(valueVal);
valueConfigValue.setValue(value);
- config[key] = value;
+ config[keyVal] = valueVal;
}
virtual QMap<QString, QString> getValues()
@@ -178,7 +178,7 @@ public:
foreach(KeyType key, config.keys())
{
CRSMConfigValue<KeyType> keyValue(key);
- CRSMConfigValue<KeyType> valValue(config[key]);
+ CRSMConfigValue<ValueType> valValue(config[key]);
ret[keyValue.value()] = valValue.value();
}
@@ -216,7 +216,7 @@ public:
Integer Time = 3;
} AntiFlood;
- List(Integer) Moderators = List(Integer)();
+ Map(Integer, String) Moderators;
Integer RegainAdminTime = 120;
} Chat;
} Clonk;
@@ -244,7 +244,7 @@ public:
String QuitMessage = "Dedicated Clonk server powered by CRSM";
Integer ReconnectDelay = 10;
String ScenListMessage = "A list of available scenarios is available ingame or in a lobby.";
- List(String) Moderators = List(String)();
+ Map(String, String) Moderators;
} IRC;