aboutsummaryrefslogtreecommitdiffstats
path: root/modules/gateway.cpp
diff options
context:
space:
mode:
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"))