same null pointer issue as the last commit

(see https://github.com/lformella/xdcc-grabscher/issues/25)