]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - include/users.h
Make User::WriteRemoteNumeric() virtual, implement it in SpanningTree::RemoteUser
[user/henk/code/inspircd.git] / include / users.h
index 8d53197ba048fb000be29ba883ca77254693e990..8cbf8a8daf8543a7ffc4b9366fc1d2c249a99e9d 100644 (file)
@@ -524,7 +524,7 @@ class CoreExport User : public Extensible
         */
        virtual void WriteRemoteNotice(const std::string& text);
 
-       void WriteRemoteNumeric(const Numeric::Numeric& numeric);
+       virtual void WriteRemoteNumeric(const Numeric::Numeric& numeric);
 
        template <typename T1>
        void WriteRemoteNumeric(unsigned int numeric, T1 p1)
@@ -663,12 +663,6 @@ class CoreExport User : public Extensible
         */
        void ForEachNeighbor(ForEachNeighborHandler& handler, bool include_self = true);
 
-       /** Dump text to a user target, splitting it appropriately to fit
-        * @param linePrefix text to prefix each complete line with
-        * @param textStream the text to send to the user
-        */
-       void SendText(const std::string& linePrefix, std::stringstream& textStream);
-
        /** Write to the user, routing the line if the user is remote.
         */
        virtual void SendText(const std::string& line) = 0;