]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/modules/m_spanningtree/treeserver.h
Fix broken linking over IPv4 on IPv6 capable systems.
[user/henk/code/inspircd.git] / src / modules / m_spanningtree / treeserver.h
index b7e9ee9d9bdd865d4de2a09ec54346acbf84dea9..037edd1943599c8165fb409ec41990ff09e2b3d1 100644 (file)
@@ -48,6 +48,7 @@ class TreeServer : public Server
        /** Full version string including patch version and other info
         */
        std::string fullversion;
+       std::string rawversion;
 
        TreeSocket* Socket;                     /* Socket used to communicate with this server */
        std::string sid;                        /* Server ID */
@@ -144,6 +145,10 @@ class TreeServer : public Server
         */
        const std::string& GetFullVersion() const { return fullversion; }
 
+       /** Get the raw version string of this server
+        */
+       const std::string& GetRawVersion() const { return rawversion; }
+
        /** Round trip time of last ping
         */
        unsigned long rtt;
@@ -175,6 +180,10 @@ class TreeServer : public Server
         */
        void SetFullVersion(const std::string& verstr) { fullversion = verstr; }
 
+       /** Set the raw version string
+        */
+       void SetRawVersion(const std::string& verstr) { rawversion = verstr; }
+
        /** Sets the description of this server. Called when the description of a remote server changes
         * and we are notified about it.
         * @param descstr The description to set
@@ -219,7 +228,7 @@ class TreeServer : public Server
         */
        void OnPong() { pingtimer.OnPong(); }
 
-       CullResult cull();
+       CullResult cull() CXX11_OVERRIDE;
 
        /** Destructor, deletes ServerUser unless IsRoot()
         */