aboutsummaryrefslogtreecommitdiffstats
path: root/src/modules/m_gateway.cpp
diff options
context:
space:
mode:
authorGravatar Sadie Powell2022-08-10 22:05:31 +0100
committerGravatar Sadie Powell2022-08-10 22:16:06 +0100
commitd4125ff12d5a5a50627fe183d30971b049f84730 (patch)
tree86cc725656618171d2f5e942297e859aad2fcd1e /src/modules/m_gateway.cpp
parentMerge branch 'insp3' into master. (diff)
Rename SetClientIP to ChangeRemoteAddress.
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 448caefc1..a00d2d0df 100644
--- a/src/modules/m_gateway.cpp
+++ b/src/modules/m_gateway.cpp
@@ -318,7 +318,7 @@ public:
// Set the IP address sent via WEBIRC. We ignore the hostname and lookup
// instead do our own DNS lookups because of unreliable gateways.
- user->SetClientIP(ipaddr);
+ user->ChangeRemoteAddress(ipaddr);
return CmdResult::SUCCESS;
}
@@ -465,7 +465,7 @@ public:
user->uuid.c_str(), user->GetIPString().c_str(), address.addr().c_str(), user->ident.c_str(), newident.c_str());
user->ChangeIdent(newident);
- user->SetClientIP(address);
+ user->ChangeRemoteAddress(address);
break;
}
return MOD_RES_PASSTHRU;