diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/modules.h | 2 | ||||
-rw-r--r-- | include/usermanager.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/include/modules.h b/include/modules.h index de0e0d7fe..48d063455 100644 --- a/include/modules.h +++ b/include/modules.h @@ -1245,7 +1245,7 @@ class CoreExport Module : public Extensible */ virtual int OnDelBan(User* source, Channel* channel,const std::string &banmask); - virtual void OnHookUserIO(User* user); + virtual void OnHookUserIO(User* user, const std::string &targetip); /** Called immediately after any connection is accepted. This is intended for raw socket * processing (e.g. modules which wrap the tcp connection within another library) and provides diff --git a/include/usermanager.h b/include/usermanager.h index 0fe418ba3..6016a2462 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); + void AddClient(InspIRCd* Instance, int socket, int port, bool iscached, int socketfamily, sockaddr* ip, const std::string &targetip); /** Add a user to the local clone map * @param user The user to add |