summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/til.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/til.c b/src/til.c
index aae1875..729d447 100644
--- a/src/til.c
+++ b/src/til.c
@@ -232,6 +232,7 @@ int til_module_create_context(const til_module_t *module, til_stream_t *stream,
assert(module);
assert(parent_path);
+ assert(setup || !module->setup); /* if a module provides a .setup() method, it can assume a provided setup */
assert(res_context);
{
© All Rights Reserved