Fixed a serious security exploit in ircd on amsterdam-nl

See http://rabbit.dereferenced.org/~nenolod/ASA-2012-12-31.txt