aboutsummaryrefslogtreecommitdiffstats
path: root/src/modules/m_websocket.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/m_websocket.cpp')
-rw-r--r--src/modules/m_websocket.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_websocket.cpp b/src/modules/m_websocket.cpp
index 16724033b..fd5bd2a73 100644
--- a/src/modules/m_websocket.cpp
+++ b/src/modules/m_websocket.cpp
@@ -430,7 +430,7 @@ class WebSocketHook final
{
// Give the user their real IP address.
if (realsa != luser->client_sa)
- luser->SetClientIP(realsa);
+ luser->ChangeRemoteAddress(realsa);
// Error if changing their IP gets them banned.
if (luser->quitting)