aboutsummaryrefslogtreecommitdiff
path: root/src/modules/m_spanningtree/treeserver.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/m_spanningtree/treeserver.cpp')
-rw-r--r--src/modules/m_spanningtree/treeserver.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/modules/m_spanningtree/treeserver.cpp b/src/modules/m_spanningtree/treeserver.cpp
index 80e46f210..ca9773fde 100644
--- a/src/modules/m_spanningtree/treeserver.cpp
+++ b/src/modules/m_spanningtree/treeserver.cpp
@@ -68,7 +68,7 @@ TreeServer::TreeServer(const std::string& Name, const std::string& Desc, const s
, Hidden(Hide)
{
ServerInstance->Logs.Log(MODNAME, LOG_DEBUG, "New server %s behind_bursting %u", GetName().c_str(), behind_bursting);
- CheckULine();
+ CheckService();
ServerInstance->Timers.AddTimer(&pingtimer);
@@ -238,9 +238,9 @@ unsigned int TreeServer::QuitUsers(const std::string& reason)
return original_size - users.size();
}
-void TreeServer::CheckULine()
+void TreeServer::CheckService()
{
- uline = silentuline = false;
+ service = silentservice = false;
for (auto& [_, tag] : ServerInstance->Config->ConfTags("service", ServerInstance->Config->ConfTags("uline")))
{
@@ -249,12 +249,12 @@ void TreeServer::CheckULine()
{
if (this->IsRoot())
{
- ServerInstance->Logs.Log(MODNAME, LOG_DEFAULT, "Servers should not uline themselves (at " + tag->source.str() + ")");
+ ServerInstance->Logs.Log(MODNAME, LOG_DEFAULT, "Servers should not mark themselves as a service (at " + tag->source.str() + ")");
return;
}
- uline = true;
- silentuline = tag->getBool("silent");
+ service = true;
+ silentservice = tag->getBool("silent");
break;
}
}