]> de.git.xonotic.org Git - xonotic/gmqcc.git/commitdiff
Remove requirement for E
authorDale Weiler <killfieldengine@gmail.com>
Thu, 22 Nov 2012 18:12:47 +0000 (18:12 +0000)
committerDale Weiler <killfieldengine@gmail.com>
Thu, 22 Nov 2012 18:12:47 +0000 (18:12 +0000)
test.c

diff --git a/test.c b/test.c
index 65002c9e362d9ef73b9172e71921923190420d8d..e710e0ced26dcc0296f8824a08f31309a8e288e2 100644 (file)
--- a/test.c
+++ b/test.c
@@ -514,7 +514,8 @@ task_template_t *task_template_compile(const char *file, const char *dir) {
         goto success;
     } else if (!strcmp(template->proceduretype, "-execute")) {
         if (!template->executeflags) {
-            con_err("template compile error: %s missing `E:` tag (use `$null` for exclude)\n", file);
+            /* default to $null */
+            template->executeflags = util_strdup("$null");
             goto failure;
         }
         if (!template->comparematch) {