1
0
mirror of https://github.com/Tha14/toxic.git synced 2025-07-05 03:36:45 +02:00

rm /msg command

This commit is contained in:
Jfreegman
2013-10-18 23:46:58 -04:00
parent 361c4cfafc
commit 0396ce6456
4 changed files with 4 additions and 51 deletions

View File

@ -255,19 +255,6 @@ void disable_chatwin(int f_num)
friends[f_num].chatwin = -1;
}
/* Returns the respective friend number of name. Returns -1 on no match */
int get_friendnum(uint8_t *name)
{
int i;
for (i = 0; i < num_friends; ++i) {
if (strcmp(friends[i].name, name) == 0)
return friends[i].num;
}
return -1;
}
static void friendlist_onInit(ToxWindow *self, Tox *m)
{