diff options
-rw-r--r-- | include/usermanager.h | 2 | ||||
-rw-r--r-- | src/socket.cpp | 2 | ||||
-rw-r--r-- | src/usermanager.cpp | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/include/usermanager.h b/include/usermanager.h index 8b6d3e9bd..4c50c4292 100644 --- a/include/usermanager.h +++ b/include/usermanager.h @@ -71,7 +71,7 @@ class CoreExport UserManager : public classbase * @param ip The IP address of the user * @return This function has no return value, but a call to AddClient may remove the user. */ - void AddClient(InspIRCd* Instance, int socket, int port, bool iscached, int socketfamily, sockaddr* ip, const std::string &targetip); + void AddUser(InspIRCd* Instance, int socket, int port, bool iscached, int socketfamily, sockaddr* ip, const std::string &targetip); /** Disconnect a user gracefully * @param user The user to remove diff --git a/src/socket.cpp b/src/socket.cpp index fc48d219e..f1c795c60 100644 --- a/src/socket.cpp +++ b/src/socket.cpp @@ -141,7 +141,7 @@ void ListenSocket::HandleEvent(EventType, int) ServerInstance->SE->NonBlocking(incomingSockfd); ServerInstance->stats->statsAccept++; - ServerInstance->Users->AddClient(ServerInstance, incomingSockfd, in_port, false, this->family, client, target); + ServerInstance->Users->AddUser(ServerInstance, incomingSockfd, in_port, false, this->family, client, target); } else { diff --git a/src/usermanager.cpp b/src/usermanager.cpp index 6385fb929..aaf512019 100644 --- a/src/usermanager.cpp +++ b/src/usermanager.cpp @@ -18,7 +18,7 @@ #include "bancache.h" /* add a client connection to the sockets list */ -void UserManager::AddClient(InspIRCd* Instance, int socket, int port, bool iscached, int socketfamily, sockaddr* ip, const std::string &targetip) +void UserManager::AddUser(InspIRCd* Instance, int socket, int port, bool iscached, int socketfamily, sockaddr* ip, const std::string &targetip) { /* NOTE: Calling this one parameter constructor for User automatically * allocates a new UUID and places it in the hash_map. |