Fixed a build error due to the removal of getnumfriends()

This commit is contained in:
ragesalmon 2013-08-02 12:40:39 -04:00
parent eba7fdb9ba
commit 563c2b3157

View File

@ -151,21 +151,6 @@ void line_eval(char* line)
else if (inpt_command == 'l') {
int activefriends = 0;
int i;
for (i = 0; i <= getnumfriends(); i++)
{
if (m_friendstatus(i) == 4)
activefriends++;
}
printf("\n[i] Friend List | Total: %d\n\n", activefriends);
for (i = 0; i <= getnumfriends(); i++) {
char name[MAX_NAME_LENGTH];
getname(i, (uint8_t*)name);
if (m_friendstatus(i) == 4)
printf("[%d] %s\n\n", i, (uint8_t*)name);
}
}
else if (inpt_command == 'd') {