summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorgoodale <goodale@17b73243-c579-4c4c-a9d2-2d5706c11dac>1999-09-19 15:46:40 +0000
committergoodale <goodale@17b73243-c579-4c4c-a9d2-2d5706c11dac>1999-09-19 15:46:40 +0000
commit9c581cf8b1320c6cc677b6a5a5e5aadc7c78d444 (patch)
treebb020d124131a495a4f0c048bdfac066532d5aa4 /src
parenta2c44596380a568a95af4b4754a4cfb48d7acefc (diff)
Fixed bug found on origin.
Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@968 17b73243-c579-4c4c-a9d2-2d5706c11dac
Diffstat (limited to 'src')
-rw-r--r--src/main/ScheduleInterface.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/main/ScheduleInterface.c b/src/main/ScheduleInterface.c
index 5001450f..a7554f56 100644
--- a/src/main/ScheduleInterface.c
+++ b/src/main/ScheduleInterface.c
@@ -510,9 +510,9 @@ static t_attribute *CreateAttribute(const char *description,
if(this->description &&
this->thorn &&
this->implementation &&
- this->mem_groups &&
- this->comm_groups &&
- this->trigger_groups)
+ (this->mem_groups || n_mem_groups==0) &&
+ (this->comm_groups || n_comm_groups==0) &&
+ (this->trigger_groups || n_trigger_groups==0))
{
strcpy(this->description, description);
strcpy(this->thorn, thorn);