X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=include%2Finspsocket.h;h=af93baa56f409fec74bcaa6e50ffa3ce9593b0e2;hb=8c2d96013084de950e3a63be4ae6ed626c4093ab;hp=d33cde5e82752229e30a18afde7ffff7d0193e5c;hpb=bfaf7e3b27981a5144faba6d17c6e29fac735dbb;p=user%2Fhenk%2Fcode%2Finspircd.git diff --git a/include/inspsocket.h b/include/inspsocket.h index d33cde5e8..af93baa56 100644 --- a/include/inspsocket.h +++ b/include/inspsocket.h @@ -332,7 +332,7 @@ class CoreExport BufferedSocket : public EventHandler * returns or linefeeds are appended to the string. * @param data The data to send */ - virtual int Write(const std::string &data); + virtual void Write(const std::string &data); /** * If your socket is a listening socket, when a new @@ -406,17 +406,6 @@ class CoreExport BufferedSocket : public EventHandler */ virtual bool DoConnect(); - /** - * This method marks the socket closed. - * The next time the core examines a socket marked - * as closed, the socket will be closed and the - * memory reclaimed. - * - * NOTE: This method is DEPRECIATED and will be - * ignored if called! - */ - void MarkAsClosed(); - /** Handle event from EventHandler parent class */ void HandleEvent(EventType et, int errornum = 0);