]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - include/inspsocket.h
Fix secure websocket users not being seen as secure.
[user/henk/code/inspircd.git] / include / inspsocket.h
index fef76ae4ea420319b2fb4f59a0dbd6fc83d6623e..16d2cdbce9a686912761f09b6ef3781014a7f0fb 100644 (file)
@@ -365,6 +365,11 @@ class CoreExport StreamSocket : public EventHandler
         * @return IOHook belonging to the module or NULL if the module haven't attached an IOHook to this socket
         */
        IOHook* GetModHook(Module* mod) const;
+
+       /** Get the last IOHook attached to this socket
+        * @return The last IOHook attached to this socket or NULL if no IOHooks are attached
+        */
+       IOHook* GetLastHook() const;
 };
 /**
  * BufferedSocket is an extendable socket class which modules