summaryrefslogtreecommitdiff
path: root/src/configreader.cpp
diff options
context:
space:
mode:
authorPeter Powell <petpow@saberuk.com>2017-11-09 10:05:09 +0000
committerPeter Powell <petpow@saberuk.com>2017-11-09 10:31:00 +0000
commit2b94e7dcc072d923a3f3e8830dab9b45caaea118 (patch)
tree2c68d45a7c97fce1f10f22ecee081f284c7fd512 /src/configreader.cpp
parent7f7ffef3b4d5dc6242918a48713d6fab96928a80 (diff)
Allow spaces in the network name now it doesn't cause problems.
This will not cause any compatibility issues as we do not rely on this attribute internally.
Diffstat (limited to 'src/configreader.cpp')
-rw-r--r--src/configreader.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/configreader.cpp b/src/configreader.cpp
index e242641f1..168bdd09b 100644
--- a/src/configreader.cpp
+++ b/src/configreader.cpp
@@ -450,9 +450,6 @@ void ServerConfig::Fill()
Paths = ServerPaths(ConfValue("path"));
NoSnoticeStack = options->getBool("nosnoticestack", false);
- if (Network.find(' ') != std::string::npos)
- throw CoreException(Network + " is not a valid network name. A network name must not contain spaces.");
-
std::string defbind = options->getString("defaultbind");
if (stdalgo::string::equalsci(defbind, "ipv4"))
{