summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'segget/network.cpp')
-rw-r--r--segget/network.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/segget/network.cpp b/segget/network.cpp
index f67d2fb..782c009 100644
--- a/segget/network.cpp
+++ b/segget/network.cpp
@@ -66,7 +66,7 @@ void Tnetwork::init(uint priority_value){
try{
priority=priority_value;
Tconfig conf("network"+toString(network_num)+".conf");
- conf.set("mode","network_mode",network_mode,0,2);
+ conf.set("mode","network_mode",network_mode,0,3);
conf.set("network_bind","bind_interface",bind_interface);
conf.set("network_connections","max_connections",max_connections,1,MAX_CONNECTS);
conf.set("network_connections","connection_timeout",connection_timeout,1,1000);