I made these changes in questmgr.cpp and compiled/tested
		
	Code:
	"DELETE FROM quest_globals WHERE expdate < UNIX_TIMESTAMP() and expdate != 0) || (name='%s' && npcid=%i && charid=%i && zoneid=%i))"
 there was two entries like that so I changed it also,
	Code:
	"DELETE FROM quest_globals WHERE expdate < UNIX_TIMESTAMP() and expdate != 0) || (name='%s' && npcid=%i && charid=%i && zoneid=%i))"
 The problem still is there, quest_globals poofed.