Fixed missing return from non-void fn

See https://forum.namecoin.info/viewtopic.php?p=11657#p11657