diff options
| author | 2014-07-27 18:47:36 +0200 | |
|---|---|---|
| committer | 2014-07-27 18:47:36 +0200 | |
| commit | d5e7f1d01dd80fd78d895c843de4eba198bd7d60 (patch) | |
| tree | 748c0b24c0e2020daf2a9003f64d1db57642bb19 /src/modules/m_spanningtree/treeserver.h | |
| parent | m_spanningtree Replace direct access of TreeServer::bursting with IsBursting() (diff) | |
m_spanningtree Use the value of StartBurst to determine whether a server is bursting, remove TreeServer::bursting
Diffstat (limited to 'src/modules/m_spanningtree/treeserver.h')
| -rw-r--r-- | src/modules/m_spanningtree/treeserver.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/modules/m_spanningtree/treeserver.h b/src/modules/m_spanningtree/treeserver.h index 23647bcf3..dcc89c3d2 100644 --- a/src/modules/m_spanningtree/treeserver.h +++ b/src/modules/m_spanningtree/treeserver.h @@ -64,7 +64,6 @@ class TreeServer : public Server const time_t age; bool Warned; /* True if we've warned opers about high latency on this server */ - bool bursting; /* whether or not this server is bursting */ unsigned int UserCount; /* How many users are on this server? [note: doesn't care about +i] */ unsigned int OperCount; /* How many opers are on this server? */ @@ -198,7 +197,7 @@ class TreeServer : public Server /** Get the bursting state of this server * @return True if this server is bursting, false if it isn't */ - bool IsBursting() const { return bursting; } + bool IsBursting() const { return (StartBurst != 0); } CullResult cull(); |
