yes. it is a bit silly. I need to go through the patch and check all. When I wrote this patch i had very less c++ / server knowledge and i was happy that it was working at all :P