diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/usermanager.h | 12 | ||||
-rw-r--r-- | include/users.h | 12 |
2 files changed, 12 insertions, 12 deletions
diff --git a/include/usermanager.h b/include/usermanager.h index 5ca6401bb..9cc3e0309 100644 --- a/include/usermanager.h +++ b/include/usermanager.h @@ -36,6 +36,18 @@ class CoreExport UserManager : public classbase */ clonemap global_clones; + /** Add a client to the system. + * This will create a new User, insert it into the user_hash, + * initialize it as not yet registered, and add it to the socket engine. + * @param Instance a pointer to the server instance + * @param socket The socket id (file descriptor) this user is on + * @param port The port number this user connected on + * @param iscached This variable is reserved for future use + * @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); + /** Add a user to the local clone map * @param user The user to add */ diff --git a/include/users.h b/include/users.h index 67ea63a31..c795ae1a4 100644 --- a/include/users.h +++ b/include/users.h @@ -916,18 +916,6 @@ class CoreExport User : public connection */ bool ForceNickChange(const char* newnick); - /** Add a client to the system. - * This will create a new User, insert it into the user_hash, - * initialize it as not yet registered, and add it to the socket engine. - * @param Instance a pointer to the server instance - * @param socket The socket id (file descriptor) this user is on - * @param port The port number this user connected on - * @param iscached This variable is reserved for future use - * @param ip The IP address of the user - * @return This function has no return value, but a call to AddClient may remove the user. - */ - static void AddClient(InspIRCd* Instance, int socket, int port, bool iscached, int socketfamily, sockaddr* ip); - /** Oper down. * This will clear the +o usermode and unset the user's oper type */ |