diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/socket.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/include/socket.h b/include/socket.h index cf2b9bf5b..1e6ca56a2 100644 --- a/include/socket.h +++ b/include/socket.h @@ -150,6 +150,7 @@ class ListenSocket : public EventHandler /** The creator/owner of this object */ InspIRCd* ServerInstance; + std::string desc; public: /** Create a new listening socket */ @@ -160,6 +161,17 @@ class ListenSocket : public EventHandler /** Close the socket */ ~ListenSocket(); + /** Set descriptive text + */ + void SetDescription(const std::string &description) + { + desc = description; + } + + const std::string& GetDescription() + { + return desc; + } }; #endif |