aboutsummaryrefslogtreecommitdiffstats
path: root/src/modules/m_gateway.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/m_gateway.cpp')
-rw-r--r--src/modules/m_gateway.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/m_gateway.cpp b/src/modules/m_gateway.cpp
index a43e3ee9b..4e3bdc843 100644
--- a/src/modules/m_gateway.cpp
+++ b/src/modules/m_gateway.cpp
@@ -480,7 +480,7 @@ public:
if (cport != flags->end())
{
// If we can't parse the port then just give up.
- uint16_t port = ConvToNum<uint16_t>(cport->second);
+ in_port_t port = ConvToNum<in_port_t>(cport->second);
if (port)
{
switch (user->client_sa.family())
@@ -506,7 +506,7 @@ public:
if (sport != flags->end())
{
// If we can't parse the port then just give up.
- uint16_t port = ConvToNum<uint16_t>(sport->second);
+ in_port_t port = ConvToNum<in_port_t>(sport->second);
if (port)
{
switch (user->server_sa.family())