Refactored an expression

This commit is contained in:
Maxim Biro 2013-08-07 20:24:06 -04:00
parent b6a3f2b403
commit 4779561ea3

View File

@ -554,7 +554,7 @@ static void doFriends(void)
case PACKET_ID_USERSTATUS: {
if (len != 2)
break;
USERSTATUS status = *(temp + 1);
USERSTATUS status = temp[1];
if (friend_userstatuschange_isset)
friend_userstatuschange(i, status);
set_friend_userstatus(i, status);