My 'idle miner' patch...
Your solution is partially effective but you are foolish to just give it away. The hired developer will earn a profit from using your hack (1 BTC), and you will get nothing (0 BTC). Not one person here is mining for free regardless of what they claim, and each will eventually stop mining when they deem it unprofitable as cryptocoins have no intrinsic value whatsoever.
When nicehash grows to 20GH/s, they will be using your work to earn approximately 5 BTC in fees daily, meanwhile you have earned nothing from being smarter than them. But is giving it to them for free really that smart in retrospect? I think not.
You had usable workaround, you had an advantage as a miner, you had leverage over nicehash, and you gave it all away for nothing, presumably because you have some sort of desperate need for approval by strangers on the internet -- some of whom will appease you by telling you how great you are, but only because you just handed out your profits to them. I'll give you my btc address and if you send me some btc, I'll tell you that you're great too.