Kroc is right, it's better not to worry about it, because there will always be someone who breaks the rules, and even if you find out, you may not necessarily be able to do squat about it.
Copyright laws are good mostly in the US and parts of Europe, and a few other countries. Anywhere else, and the laws are either not recognized or not enforced. Not much can be done about it.
My analysis of your situation is to just use an MIT-style or CC license, and just let people do what they will. Less stress if you don't put too much investment into thinking about how others use your code.
I remember a case where a wiki was licensed under CC-BY, but some idiot came along, did a dump of the wiki, took out all the credits, and posted it online as his own. Nothing could really be done about it, except that the original site outpaced the copycat site, and basically left it in the dust.
So, yeah. Don't worry about it too much.