summaryrefslogtreecommitdiff
path: root/src/modules/m_spanningtree
diff options
context:
space:
mode:
authorSadie Powell <sadie@witchery.services>2020-12-20 03:04:21 +0000
committerSadie Powell <sadie@witchery.services>2020-12-20 03:05:29 +0000
commit6cfabb0064cab52bbbab59974e53dc0fa1954da7 (patch)
treeaa755e92103730ba6428332b4094578cde91cc67 /src/modules/m_spanningtree
parent029ff235e184acc8194e76ef535e437cb6c9f614 (diff)
Hide the server name/desc better when <options:hideserver> is set.
Diffstat (limited to 'src/modules/m_spanningtree')
-rw-r--r--src/modules/m_spanningtree/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_spanningtree/main.cpp b/src/modules/m_spanningtree/main.cpp
index 1fd17c28a..01387c753 100644
--- a/src/modules/m_spanningtree/main.cpp
+++ b/src/modules/m_spanningtree/main.cpp
@@ -144,7 +144,7 @@ void ModuleSpanningTree::ShowLinks(TreeServer* Current, User* user, int hops)
return;
user->WriteNumeric(RPL_LINKS, Current->GetName(),
- (((Utils->FlatLinks) && (!user->IsOper())) ? ServerInstance->Config->ServerName : Parent),
+ (((Utils->FlatLinks) && (!user->IsOper())) ? ServerInstance->Config->GetServerName() : Parent),
InspIRCd::Format("%d %s", (((Utils->FlatLinks) && (!user->IsOper())) ? 0 : hops), Current->GetDesc().c_str()));
}