fix https://bugs.launchpad.net/airdcpp/+bug/1354166