summaryrefslogtreecommitdiff
path: root/src/modules/extra
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/extra
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/extra')
-rw-r--r--src/modules/extra/m_ssl_gnutls.cpp2
-rw-r--r--src/modules/extra/m_ssl_openssl.cpp2
2 files changed, 2 insertions, 2 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()))
{