From a4305d8f3c3e613be839bdcd61a1d14c87fed5aa Mon Sep 17 00:00:00 2001 From: Peter Powell Date: Mon, 23 Sep 2019 11:49:26 +0100 Subject: Add the server id to the Server class. --- src/modules/m_spanningtree/compat.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/modules/m_spanningtree/compat.cpp') diff --git a/src/modules/m_spanningtree/compat.cpp b/src/modules/m_spanningtree/compat.cpp index 0d50b4325..270aad954 100644 --- a/src/modules/m_spanningtree/compat.cpp +++ b/src/modules/m_spanningtree/compat.cpp @@ -381,7 +381,7 @@ bool TreeSocket::PreProcessOldProtocolMessage(User*& who, std::string& cmd, Comm return false; } - params[0] = server->GetID(); + params[0] = server->GetId(); } } else if ((cmd == "GLINE") || (cmd == "KLINE") || (cmd == "ELINE") || (cmd == "ZLINE") || (cmd == "QLINE")) @@ -564,7 +564,7 @@ bool TreeSocket::PreProcessOldProtocolMessage(User*& who, std::string& cmd, Comm // Second parameter becomes the target uuid params[0].swap(params[1]); // Replace first param (now the PUSH payload, not needed) with the source sid - params[0] = numericsource->GetID(); + params[0] = numericsource->GetId(); params.push_back(InspIRCd::Format("%03u", numeric_number)); -- cgit v1.3.1-10-gc9f91