Last raft of compile fixes

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7967 e03df62e-2008-0410-955e-edbf42e46eb7
This commit is contained in:
brain 2007-08-28 18:31:13 +00:00
parent 5308302269
commit 51d6e82d98
2 changed files with 2 additions and 4 deletions

View File

@ -402,7 +402,7 @@ bool TreeSocket::LocalPong(const std::string &prefix, std::deque<std::string> &p
else
{
std::string forwardto = params[1];
if (forwardto == this->Instance->Config->GetSID() || forwardto == this->Instance->ServerName)
if (forwardto == Instance->Config->GetSID() || forwardto == Instance->Config->ServerName)
{
/*
* this is a PONG for us
@ -1547,7 +1547,7 @@ Old nickname collision logic..
{
// its not a user. Its either a server, or somethings screwed up.
if (Utils->IsServer(prefix))
target = this->Instance->Config->GetID();
target = this->Instance->Config->GetSID();
else
return true;
}

View File

@ -177,8 +177,6 @@ SpanningTreeUtilities::SpanningTreeUtilities(InspIRCd* Instance, ModuleSpanningT
lines_to_apply = 0;
ServerInstance->Log(DEBUG, "SpanningTreeUtilities: SID: %s", OurSID.c_str());
this->TreeRoot = new TreeServer(this, ServerInstance, ServerInstance->Config->ServerName, ServerInstance->Config->ServerDesc, ServerInstance->Config->GetSID());
modulelist* ml = ServerInstance->FindInterface("InspSocketHook");