From d1b20f95198858c0ffd2974fb7fd622a0d945a81 Mon Sep 17 00:00:00 2001 From: brain Date: Mon, 24 Mar 2008 16:24:52 +0000 Subject: This module uses io hooking too, fix it up git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9190 e03df62e-2008-0410-955e-edbf42e46eb7 --- include/configreader.h | 24 +----------------------- 1 file changed, 1 insertion(+), 23 deletions(-) (limited to 'include') diff --git a/include/configreader.h b/include/configreader.h index b94687b43..f47c6680e 100644 --- a/include/configreader.h +++ b/include/configreader.h @@ -546,10 +546,8 @@ class CoreExport ServerConfig : public Extensible */ std::vector ports; - /** A list of ports claimed by IO Modules + /** socket objects that are attached to by modules */ - std::map IOHookModule; - std::map SocketIOHookModule; /** The 005 tokens of this server (ISUPPORT) @@ -759,27 +757,7 @@ class CoreExport ServerConfig : public Extensible void ValidateIP(const char* p, const std::string &tag, const std::string &val, bool wild); void ValidateNoSpaces(const char* p, const std::string &tag, const std::string &val); - - /** Get a pointer to the module which has hooked the given port. - * @parameter port Port number - * @return Returns a pointer to the hooking module, or NULL - */ - Module* GetIOHook(int port); - /** Hook a module to a client port, so that it can receive notifications - * of low-level port activity. - * @param port The port number - * @param Module the module to hook to the port - * @return True if the hook was successful. - */ - bool AddIOHook(int port, Module* iomod); - - /** Delete a module hook from a client port. - * @param port The port to detatch from - * @return True if successful - */ - bool DelIOHook(int port); - /** Get a pointer to the module which has hooked the given BufferedSocket class. * @parameter port Port number * @return Returns a pointer to the hooking module, or NULL -- cgit v1.2.3