Merge pull request #101 from birarda/master

fix missed reference to AGENT_TYPE_INTERFACE
This commit is contained in:
birarda 2013-04-22 14:05:58 -07:00
commit f10ec0b391

View file

@ -993,7 +993,7 @@ void display(void)
int totalAgents = AgentList::getInstance()->getAgents().size();
int totalAvatars = 0, totalServers = 0;
for (int i = 0; i < totalAgents; i++) {
(AgentList::getInstance()->getAgents()[i].getType() == AGENT_TYPE_INTERFACE)
(AgentList::getInstance()->getAgents()[i].getType() == AGENT_TYPE_AVATAR)
? totalAvatars++ : totalServers++;
}
sprintf(agents, "Servers: %d, Avatars: %d\n", totalServers, totalAvatars);