}
else
{
- prefix = this->GetName();
+ TreeServer* n = Utils->FindServer(GetName());
+ if (n)
+ prefix = n->GetID();
+ else
+ prefix = GetName();
}
if ((command == "MODE") && (params.size() >= 2))
}
else if (command == "PING")
{
- if (prefix.empty())
- prefix = this->GetName();
/*
* We just got a ping from a server that's bursting.
* This can't be right, so set them to not bursting, and
}
else if (command == "PONG")
{
- if (prefix.empty())
- prefix = this->GetName();
/*
* We just got a pong from a server that's bursting.
* This can't be right, so set them to not bursting, and
}
else if (command == "SVSNICK")
{
- if (prefix.empty())
- {
- prefix = this->GetName();
- }
return this->ForceNick(prefix,params);
}
else if (command == "OPERQUIT")
}
else if (command == "SVSJOIN")
{
- if (prefix.empty())
- {
- prefix = this->GetName();
- }
return this->ServiceJoin(prefix,params);
}
else if (command == "SVSPART")
{
- if (prefix.empty())
- prefix = this->GetName();
return this->ServicePart(prefix,params);
}
else if (command == "SQUIT")