summaryrefslogtreecommitdiffstats
path: root/action.c
diff options
context:
space:
mode:
Diffstat (limited to 'action.c')
-rw-r--r--action.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/action.c b/action.c
index cf010d01..33580f7f 100644
--- a/action.c
+++ b/action.c
@@ -1890,13 +1890,16 @@ actionRequiresDateCall(action_t *pAction)
int i;
int r = 0;
+ if(pAction->eParamPassing == ACT_MSG_PASSING)
+ /* in msg passing mode, we have NO templates! */
+ goto done;
for(i = 0 ; i < pAction->iNumTpls ; ++i) {
if(tplRequiresDateCall(pAction->ppTpl[i])) {
r = 1;
break;
}
}
- return r;
+done: return r;
}