aboutsummaryrefslogtreecommitdiff
path: root/src/users.cpp
diff options
context:
space:
mode:
authorGravatar Sadie Powell2023-01-27 00:10:52 +0000
committerGravatar Sadie Powell2023-01-27 04:15:36 +0000
commitd4ff568093f9fa6acee9030f73179a78295a3777 (patch)
tree7ae1d42feff0fe8f68613f5986713300df5fc1cf /src/users.cpp
parentRename some headers to match the common naming system. (diff)
Make reading the core config less of a mess.
Diffstat (limited to 'src/users.cpp')
-rw-r--r--src/users.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/users.cpp b/src/users.cpp
index e44e2bda3..1cf742f7d 100644
--- a/src/users.cpp
+++ b/src/users.cpp
@@ -619,10 +619,10 @@ irc::sockets::cidr_mask User::GetCIDRMask() const
switch (client_sa.family())
{
case AF_INET6:
- range = ServerInstance->Config->c_ipv6_range;
+ range = ServerInstance->Config->IPv6Range;
break;
case AF_INET:
- range = ServerInstance->Config->c_ipv4_range;
+ range = ServerInstance->Config->IPv4Range;
break;
}
return irc::sockets::cidr_mask(client_sa, range);