aboutsummaryrefslogtreecommitdiff
path: root/modules/gateway.cpp
diff options
context:
space:
mode:
authorGravatar Sadie Powell2025-03-23 07:42:47 +0000
committerGravatar Sadie Powell2025-03-23 07:42:47 +0000
commitfb219052c8a09bb8fa9635521756819482da2cdd (patch)
treee6d6f5fb492c588969d8ac89e1ab312454c23047 /modules/gateway.cpp
parentOnly include <sstream> from files that actually use it. (diff)
Move DefaultIsNick/DefaultIsUser/IsNick/IsUser to UserManager.
Diffstat (limited to 'modules/gateway.cpp')
-rw-r--r--modules/gateway.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/gateway.cpp b/modules/gateway.cpp
index 53d8d7e47..4daee3816 100644
--- a/modules/gateway.cpp
+++ b/modules/gateway.cpp
@@ -386,7 +386,7 @@ public:
if (insp::equalsci(type, "username") || insp::equalsci(type, "ident"))
{
// The IP address should be looked up from the hex IP address.
- const std::string newuser = tag->getString("newusername", "gateway", ServerInstance->IsUser);
+ const std::string newuser = tag->getString("newusername", "gateway", ServerInstance->Users.IsUser);
userhosts.emplace_back(masks, newuser);
}
else if (insp::equalsci(type, "webirc"))