aboutsummaryrefslogtreecommitdiffstats
path: root/include/server.h
diff options
context:
space:
mode:
authorGravatar Sadie Powell2021-10-25 22:40:13 +0100
committerGravatar Sadie Powell2021-10-25 23:02:28 +0100
commitbeaae760bd7fb0afa05bc3fd7682e085b14b2930 (patch)
tree0b24ff90cc345b6869840dd610ae47935c094cfe /include/server.h
parentRespect <security:hideserver> in the 005 numeric. (diff)
Add Server::GetPublicName(), fix not respecting <security:hideserver>.
Diffstat (limited to 'include/server.h')
-rw-r--r--include/server.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/server.h b/include/server.h
index 1aacdc2d9..d8c81d99b 100644
--- a/include/server.h
+++ b/include/server.h
@@ -75,6 +75,9 @@ class CoreExport Server : public classbase
*/
const std::string& GetName() const { return name; }
+ /** Returns the public name of this server respecting <security:hideserver> if set. */
+ const std::string& GetPublicName() const;
+
/** Returns the description of this server
* @return The description of this server
*/