aboutsummaryrefslogtreecommitdiffstats
path: root/serve/deliver.c
diff options
context:
space:
mode:
Diffstat (limited to 'serve/deliver.c')
-rw-r--r--serve/deliver.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/serve/deliver.c b/serve/deliver.c
index d56932d..f239ccd 100644
--- a/serve/deliver.c
+++ b/serve/deliver.c
@@ -267,8 +267,8 @@ uint32_t pure_wire_output(const PureWire *w) { return w->output; }
bool pure_wire_reply(PureWire *w, uint32_t input, char *error, size_t size) {
const PureModule *m = w->module;
- if (input >= m->inputs || m->input[input].kind != PURE_KIND_MESSAGE || m->input[input].keyed) {
- snprintf(error, size, "an answer goes to a message input without a key");
+ if (input >= m->inputs || m->input[input].kind != PURE_KIND_MESSAGE) {
+ snprintf(error, size, "an answer goes to a message input");
return false;
}
w->answer_input = (int)input;