diff options
| author | 2021-10-25 22:40:13 +0100 | |
|---|---|---|
| committer | 2021-10-25 23:02:28 +0100 | |
| commit | beaae760bd7fb0afa05bc3fd7682e085b14b2930 (patch) | |
| tree | 0b24ff90cc345b6869840dd610ae47935c094cfe /include/server.h | |
| parent | Respect <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.h | 3 |
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 */ |
