summaryrefslogtreecommitdiffstats
path: root/src/CRSMConfig.hpp
diff options
context:
space:
mode:
authorMarkus Mittendrein <git@maxmitti.tk>2016-05-05 21:14:32 +0200
committerMarkus Mittendrein <git@maxmitti.tk>2016-05-05 21:14:32 +0200
commit6eadd30b19903d395867b6b487ce6a7a7541237b (patch)
treec0a7f5fc08add51d3258958ab678284bd793bb3a /src/CRSMConfig.hpp
parent3f4853ebb4132e25fbc9c42e6cecc2791b67d52e (diff)
downloadmanager-6eadd30b19903d395867b6b487ce6a7a7541237b.tar.gz
manager-6eadd30b19903d395867b6b487ce6a7a7541237b.zip
Add DCC Chat ability
Diffstat (limited to 'src/CRSMConfig.hpp')
-rw-r--r--src/CRSMConfig.hpp14
1 files changed, 13 insertions, 1 deletions
diff --git a/src/CRSMConfig.hpp b/src/CRSMConfig.hpp
index 22458e9..a566092 100644
--- a/src/CRSMConfig.hpp
+++ b/src/CRSMConfig.hpp
@@ -71,10 +71,16 @@ public:
String IngameChannel = "#crsm-ingame";
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.";
+ String ScenListMessage = "A list of available scenarios is available over DCC, ingame or in a lobby.";
Map(String, String) Moderators;
} IRC;
+ struct {
+ Boolean Use = true;
+ Integer Port = 9373;
+ String Address = "0.0.0.0";
+ } DCC;
+
struct {
struct {
@@ -161,6 +167,12 @@ public:
+ ConfigVal(DCC.Use),
+ ConfigVal(DCC.Address),
+ ConfigVal(DCC.Port),
+
+
+
ConfigVal(Auto.ProcessManager.ReattachId),