summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--docs/conf/inspircd.conf.example3
-rw-r--r--src/configreader.cpp3
2 files changed, 1 insertions, 5 deletions
diff --git a/docs/conf/inspircd.conf.example b/docs/conf/inspircd.conf.example
index c08982b98..b9fa6d3a9 100644
--- a/docs/conf/inspircd.conf.example
+++ b/docs/conf/inspircd.conf.example
@@ -97,8 +97,7 @@
#id="97K"
# network: Network name given on connect to clients.
- # Should be the same on all servers on the network and
- # not contain spaces.
+ # Should be the same on all servers on the network.
network="Omega">
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"))
{