]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - include/inspsocket.h
m_check: rename the timestamp key to createdat.
[user/henk/code/inspircd.git] / include / inspsocket.h
index e432f9c16c130600ede422b4e7dbb41fc38cf3cf..69fdaac8bdd74c780c930b72e0e9394621cf2672 100644 (file)
@@ -312,8 +312,9 @@ class CoreExport StreamSocket : public EventHandler
        /** Called when the endpoint addresses are changed.
         * @param local The new local endpoint.
         * @param remote The new remote endpoint.
+        * @return true if the connection is still open, false if it has been closed
         */
-       virtual void OnSetEndPoint(const irc::sockets::sockaddrs& local, const irc::sockets::sockaddrs& remote) { }
+       virtual bool OnSetEndPoint(const irc::sockets::sockaddrs& local, const irc::sockets::sockaddrs& remote);
 
        /** Send the given data out the socket, either now or when writes unblock
         */