diff options
Diffstat (limited to 'src/modules/m_spanningtree/treeserver.h')
-rw-r--r-- | src/modules/m_spanningtree/treeserver.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/modules/m_spanningtree/treeserver.h b/src/modules/m_spanningtree/treeserver.h index d8d3b70e8..125fdbd67 100644 --- a/src/modules/m_spanningtree/treeserver.h +++ b/src/modules/m_spanningtree/treeserver.h @@ -43,6 +43,7 @@ class TreeServer : public classbase time_t NextPing; /* After this time, the server should be PINGed*/ bool LastPingWasGood; /* True if the server responded to the last PING with a PONG */ SpanningTreeUtilities* Utils; /* Utility class */ + std::string sid; /* Server ID */ public: @@ -181,6 +182,14 @@ class TreeServer : public classbase */ bool Tidy(); + /** Get server ID + */ + std::string& GetID(); + + /** Set server ID + */ + void SetID(const std::string &id); + /** Destructor */ ~TreeServer(); |