remove a duplicate if

Signed-off-by: Chris “Kwpolska” Warrick <kwpolska@gmail.com>