tgstation/-tg-station — pull request #1300 by Zelacks (2013-09-04 19:44:06+00:00)
Title: Emagging cyborgs href spoof fix

Stops human, non special AI from emagging cyborgs using a spoofed href

Humans with a captains level id would be able to spoof a href that would cause cyborgs to become emagged. This sanity check ensures only the AI that has a special role will be able to use the hack. (It uses the same check that the computer uses to check if the hack button