mirror of
https://github.com/Tha14/toxic.git
synced 2024-12-24 02:23:25 +01:00
commit
e6d307f65a
@ -11,6 +11,7 @@
|
||||
#include "chat_commands.h"
|
||||
#include "global_commands.h"
|
||||
#include "toxic_windows.h"
|
||||
|
||||
#include <curses.h>
|
||||
#include <AL/al.h>
|
||||
#include <AL/alc.h>
|
||||
|
@ -473,7 +473,7 @@ static void friendlist_onAv(ToxWindow *self, ToxAv *av)
|
||||
{
|
||||
int id = toxav_get_peer_id(av, 0);
|
||||
/*id++;*/
|
||||
if ( id >= max_friends_index)
|
||||
if ( id != ErrorInternal && id >= max_friends_index)
|
||||
return;
|
||||
|
||||
Tox* m = toxav_get_tox(av);
|
||||
|
Loading…
Reference in New Issue
Block a user