summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-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
-rw-r--r--src/socket.cpp2
4 files changed, 4 insertions, 4 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()))
{
diff --git a/src/socket.cpp b/src/socket.cpp
index b68de7159..3c446c45b 100644
--- a/src/socket.cpp
+++ b/src/socket.cpp
@@ -409,7 +409,7 @@ int InspIRCd::BindPorts(bool bail, int &ports_found)
if ((!*Type) || (!strcmp(Type,"clients")))
{
- irc::portparser portrange(configToken);
+ irc::portparser portrange(configToken, false);
long portno = -1;
while (portno = portrange.GetToken())
{