X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=src%2Fmodules%2Fm_spanningtree%2Ftreeserver.h;h=874f78750e50279e221fb7d52b7447ab7c271444;hb=58f4306bb6e1f91076fccf30a3b43a40b3d1915a;hp=f42e5680f718111f4a8ab74de22c3adcb85ca4dc;hpb=43aaead8a8f31ebe2d5eda053c51016b8a2fadb2;p=user%2Fhenk%2Fcode%2Finspircd.git diff --git a/src/modules/m_spanningtree/treeserver.h b/src/modules/m_spanningtree/treeserver.h index f42e5680f..874f78750 100644 --- a/src/modules/m_spanningtree/treeserver.h +++ b/src/modules/m_spanningtree/treeserver.h @@ -55,7 +55,8 @@ class TreeServer : public classbase public: bool Warned; /* True if we've warned opers about high latency on this server */ - + bool bursting; /* whether or not this server is bursting */ + /** We don't use this constructor. Its a dummy, and won't cause any insertion * of the TreeServer into the hash_map. See below for the two we DO use. */ @@ -197,6 +198,10 @@ class TreeServer : public classbase */ bool DuplicateID(); + /** Marks a server as having finished bursting and performs appropriate actions. + */ + void FinishBurst(); + /** Destructor */ ~TreeServer();