--- org/nagios-HEAD/xdata/xodtemplate.c	2010-03-29 16:51:38.000000000 +0200
+++ nagios-HEAD/xdata/xodtemplate.c	2010-10-14 19:50:18.681571847 +0200
@@ -755,21 +755,6 @@
 			in_definition=TRUE;
 		        }
 
-		/* this is the close of an object definition */
-		else if(!strcmp(input,"}") && in_definition==TRUE){
-
-			in_definition=FALSE;
-
-			/* close out current definition */
-			if(xodtemplate_end_object_definition(options)==ERROR){
-#ifdef NSCORE
-				logit(NSLOG_CONFIG_ERROR,TRUE,"Error: Could not complete object definition in file '%s' on line %d.\n",filename,current_line);
-#endif
-				result=ERROR;
-				break;
-			        }
-		        }
-
 		/* we're currently inside an object definition */
 		else if(in_definition==TRUE){
 
