]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/modules/m_spanningtree/treeserver.h
m_spanningtree Fix IS_LOCAL() check in OnRehash handler
[user/henk/code/inspircd.git] / src / modules / m_spanningtree / treeserver.h
index 943267cfdda742bdec1b37e11394a4b5703a0f4e..60b6d1defc9d7e1dc8e10c45fe1d2a35a61f4466 100644 (file)
@@ -105,11 +105,11 @@ class TreeServer : public classbase
 
        /** Get server description (GECOS)
         */
-       std::string GetDesc();
+       const std::string& GetDesc();
 
        /** Get server version string
         */
-       std::string GetVersion();
+       const std::string& GetVersion();
 
        /** Set time we are next due to ping this server
         */
@@ -197,7 +197,7 @@ class TreeServer : public classbase
 
        /** Get server ID
         */
-       std::string& GetID();
+       const std::string& GetID();
 
        /** Marks a server as having finished bursting and performs appropriate actions.
         */