diff options
author | Sadie Powell <sadie@witchery.services> | 2020-12-20 03:04:21 +0000 |
---|---|---|
committer | Sadie Powell <sadie@witchery.services> | 2020-12-20 03:05:29 +0000 |
commit | 6cfabb0064cab52bbbab59974e53dc0fa1954da7 (patch) | |
tree | aa755e92103730ba6428332b4094578cde91cc67 /src/modules/m_spanningtree/main.cpp | |
parent | 029ff235e184acc8194e76ef535e437cb6c9f614 (diff) |
Hide the server name/desc better when <options:hideserver> is set.
Diffstat (limited to 'src/modules/m_spanningtree/main.cpp')
-rw-r--r-- | src/modules/m_spanningtree/main.cpp | 2 |
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())); } |