Fixed irc syncbot.

This commit is contained in:
irungentoo 2014-11-10 18:03:09 -05:00
parent 94ac524374
commit 534efc7349
No known key found for this signature in database
GPG Key ID: 10349DC9BED89E98

View File

@ -83,7 +83,7 @@ int reconnect(void)
int current_group = -1;
static void callback_group_invite(Tox *tox, int fid, const uint8_t *data, uint16_t length, void *userdata)
static void callback_group_invite(Tox *tox, int fid, uint8_t type, const uint8_t *data, uint16_t length, void *userdata)
{
if (current_group == -1)
current_group = tox_join_groupchat(tox, fid, data, length);