diff options
author | Peter Powell <petpow@saberuk.com> | 2017-11-22 12:13:42 +0000 |
---|---|---|
committer | Peter Powell <petpow@saberuk.com> | 2017-12-03 13:54:11 +0000 |
commit | 4aa27e75af8da0a5bc2e35f931f0165339f5f289 (patch) | |
tree | 3b88faf5bdd31c645f808369a2701a707008c884 /src/modules/m_spanningtree/treeserver.cpp | |
parent | 96cc8bf4813877724d011531da1923aa457d8542 (diff) |
Rename the spanningtree module header to server.
In the future we will have server linking modules that are not the
spanningtree module.
Diffstat (limited to 'src/modules/m_spanningtree/treeserver.cpp')
-rw-r--r-- | src/modules/m_spanningtree/treeserver.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/modules/m_spanningtree/treeserver.cpp b/src/modules/m_spanningtree/treeserver.cpp index b29bea134..be8660e42 100644 --- a/src/modules/m_spanningtree/treeserver.cpp +++ b/src/modules/m_spanningtree/treeserver.cpp @@ -23,7 +23,7 @@ #include "inspircd.h" #include "xline.h" #include "main.h" -#include "modules/spanningtree.h" +#include "modules/server.h" #include "utils.h" #include "treeserver.h" @@ -116,7 +116,7 @@ TreeServer::TreeServer(const std::string& Name, const std::string& Desc, const s this->AddHashEntry(); Parent->Children.push_back(this); - FOREACH_MOD_CUSTOM(Utils->Creator->GetEventProvider(), SpanningTreeEventListener, OnServerLink, (this)); + FOREACH_MOD_CUSTOM(Utils->Creator->GetEventProvider(), ServerEventListener, OnServerLink, (this)); } void TreeServer::BeginBurst(uint64_t startms) @@ -206,7 +206,7 @@ void TreeServer::SQuitInternal(unsigned int& num_lost_servers) RemoveHash(); if (!Utils->Creator->dying) - FOREACH_MOD_CUSTOM(Utils->Creator->GetEventProvider(), SpanningTreeEventListener, OnServerSplit, (this)); + FOREACH_MOD_CUSTOM(Utils->Creator->GetEventProvider(), ServerEventListener, OnServerSplit, (this)); } unsigned int TreeServer::QuitUsers(const std::string& reason) |