public override void OnAccept(Mobile from, Mobile sentLeader)
{
Mobile leader = from.Party as Mobile;
from.Party = null;
Party p = Party.Get(leader);
if (leader == null || p == null || !p.Candidates.Contains(from))
{
from.SendLocalizedMessage(3000222); // No one has invited you to be in a party.
}
else if ((p.Members.Count + p.Candidates.Count) <= Party.Capacity)
{
p.OnAccept(from);
}
}