]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/modules/m_spanningtree/protocolinterface.cpp
Add the server id to the Server class.
[user/henk/code/inspircd.git] / src / modules / m_spanningtree / protocolinterface.cpp
index 9fe93a389d76fa9f2efca920c72be1192dfda20d..28b2c8f160706e853b5dcf9e116543df44c029cb 100644 (file)
@@ -65,7 +65,7 @@ bool SpanningTreeProtocolInterface::SendEncapsulatedData(const std::string& targ
                        return false;
 
                // Use the SID of the target in the message instead of the server name
-               encap.push(server->GetID()).push(cmd).insert(params).Unicast(server->ServerUser);
+               encap.push(server->GetId()).push(cmd).insert(params).Unicast(server->ServerUser);
        }
 
        return true;