bug confirmed with a svn rev 2718.
how to reproduce:
1: run this querry, juste for verify the count
select * from househookpointitem where itemtemplateid like "%vault";
2 start a dolserver rev 2718
3 when up shut down it, remake the query, all vault are duplicated in the db
my first patch fix it, so he's not reliable, because he don't allow new vault to be added to the db.
with my second patch all is fixed. i commit it.