diff options
author | genius3000 <genius3000@g3k.solutions> | 2018-04-10 10:33:46 -0600 |
---|---|---|
committer | Peter Powell <petpow@saberuk.com> | 2018-04-11 18:59:17 +0100 |
commit | e6db1df5a657ea0603e1ec0b1ea9b056264d470f (patch) | |
tree | 4ba4300584a1068a52c91b90b10626c667ad8269 /src/modules/m_spanningtree | |
parent | 93fa544b2671b078cf81ac04fbb4b48d5e2d1677 (diff) |
Change ServerInfo::gecos to description
Diffstat (limited to 'src/modules/m_spanningtree')
-rw-r--r-- | src/modules/m_spanningtree/compat.cpp | 2 | ||||
-rw-r--r-- | src/modules/m_spanningtree/protocolinterface.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/m_spanningtree/compat.cpp b/src/modules/m_spanningtree/compat.cpp index 2436e74f8..98b4be88d 100644 --- a/src/modules/m_spanningtree/compat.cpp +++ b/src/modules/m_spanningtree/compat.cpp @@ -267,7 +267,7 @@ void TreeSocket::WriteLine(const std::string& original_line) } else if (command == "SERVER") { - // :001 SERVER inspircd.test 002 [<anything> ...] :gecos + // :001 SERVER inspircd.test 002 [<anything> ...] :description // A B C std::string::size_type c = line.find(' ', b + 1); if (c == std::string::npos) diff --git a/src/modules/m_spanningtree/protocolinterface.cpp b/src/modules/m_spanningtree/protocolinterface.cpp index be95845a7..b3326581b 100644 --- a/src/modules/m_spanningtree/protocolinterface.cpp +++ b/src/modules/m_spanningtree/protocolinterface.cpp @@ -38,7 +38,7 @@ void SpanningTreeProtocolInterface::GetServerList(ServerList& sl) ps.parentname = s ? s->GetName() : ""; ps.usercount = i->second->UserCount; ps.opercount = i->second->OperCount; - ps.gecos = i->second->GetDesc(); + ps.description = i->second->GetDesc(); ps.latencyms = i->second->rtt; sl.push_back(ps); } |