summaryrefslogtreecommitdiff
path: root/src/modules
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-11-11 15:47:32 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-11-11 15:47:32 +0000
commitfa9eea07bbde561237e6761d613fcbad73dc4b43 (patch)
treeed11219fb58f73e219e313a9956fb13976dc6661 /src/modules
parenta9b538041a2773f84da5a479849f3dc166171c97 (diff)
Dont allow overlapped ports in these files
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5695 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules')
-rw-r--r--src/modules/extra/m_ssl_gnutls.cpp2
-rw-r--r--src/modules/extra/m_ssl_openssl.cpp2
-rw-r--r--src/modules/m_spanningtree.cpp2
3 files changed, 3 insertions, 3 deletions
diff --git a/src/modules/extra/m_ssl_gnutls.cpp b/src/modules/extra/m_ssl_gnutls.cpp
index 863b503cf..ad14da755 100644
--- a/src/modules/extra/m_ssl_gnutls.cpp
+++ b/src/modules/extra/m_ssl_gnutls.cpp
@@ -118,7 +118,7 @@ class ModuleSSLGnuTLS : public Module
{
// Get the port we're meant to be listening on with SSL
std::string port = Conf->ReadValue("bind", "port", i);
- irc::portparser portrange(port);
+ irc::portparser portrange(port, false);
long portno = -1;
while ((portno = portrange.GetToken()))
{
diff --git a/src/modules/extra/m_ssl_openssl.cpp b/src/modules/extra/m_ssl_openssl.cpp
index d1521ad4d..bfaf2f675 100644
--- a/src/modules/extra/m_ssl_openssl.cpp
+++ b/src/modules/extra/m_ssl_openssl.cpp
@@ -143,7 +143,7 @@ class ModuleSSLOpenSSL : public Module
{
// Get the port we're meant to be listening on with SSL
std::string port = Conf->ReadValue("bind", "port", i);
- irc::portparser portrange(port);
+ irc::portparser portrange(port, false);
long portno = -1;
while ((portno = portrange.GetToken()))
{
diff --git a/src/modules/m_spanningtree.cpp b/src/modules/m_spanningtree.cpp
index 20c81bd95..63e6f5d27 100644
--- a/src/modules/m_spanningtree.cpp
+++ b/src/modules/m_spanningtree.cpp
@@ -3874,7 +3874,7 @@ void SpanningTreeUtilities::ReadConfiguration(bool rebind)
std::string Port = Conf->ReadValue("bind","port",j);
if (Type == "servers")
{
- irc::portparser portrange(Port);
+ irc::portparser portrange(Port, false);
int portno = -1;
while ((portno = portrange.GetToken()))
{