Fixed issue where other could send a bad userstatus.

This commit is contained in:
irungentoo 2014-03-18 20:50:40 -04:00
parent f7beb70fe9
commit 91838f8c2d

View File

@ -1969,6 +1969,9 @@ void do_friends(Messenger *m)
USERSTATUS status = data[0];
if (status >= USERSTATUS_INVALID)
break;
if (m->friend_userstatuschange)
m->friend_userstatuschange(m, i, status, m->friend_userstatuschange_userdata);