summaryrefslogtreecommitdiff
path: root/src/socket.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/socket.cpp')
-rw-r--r--src/socket.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/socket.cpp b/src/socket.cpp
index 2aa2c73b0..48c0170d3 100644
--- a/src/socket.cpp
+++ b/src/socket.cpp
@@ -117,7 +117,7 @@ void ListenSocket::HandleEvent(EventType, int)
}
}
ServerInstance->stats->statsAccept++;
- User::AddClient(ServerInstance, incomingSockfd, in_port, false, this->family, client);
+ ServerInstance->Users->AddClient(ServerInstance, incomingSockfd, in_port, false, this->family, client);
}
else
{