Merge pull request #269 from ragesalmon/master

Fixed a build error due to the removal of getnumfriends()
This commit is contained in:
irungentoo 2013-08-02 10:01:01 -07:00
commit 85324e07a0

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') {