summaryrefslogtreecommitdiff
path: root/functions.c
diff options
context:
space:
mode:
authorLuke Bratch <luke@bratch.co.uk>2019-06-16 23:29:34 +0100
committerLuke Bratch <luke@bratch.co.uk>2019-06-16 23:29:34 +0100
commitfa37193c83f82784e826b8477ee7d4a4cd96d7cf (patch)
tree89a5b02f2eb5abd903995154ae6fb5341993ca71 /functions.c
parent61906329ccbe96c25c75533f819dea269492f5a7 (diff)
Correctly return success when handling new replay modes.
Diffstat (limited to 'functions.c')
-rw-r--r--functions.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/functions.c b/functions.c
index edb77e7..1efb2c1 100644
--- a/functions.c
+++ b/functions.c
@@ -889,6 +889,7 @@ int doautoreplay(int sourcefd, struct client *clients, struct settings *settings
debugprint(DEBUG_SOME, "doautoreplay(): doreplay() returned 0, returning 0 to caller...\n");
return 0;
}
+ return 1;
}
// If replaymode = "lastchange" then send whatever happened since the last client registration or disconnection
@@ -898,6 +899,7 @@ int doautoreplay(int sourcefd, struct client *clients, struct settings *settings
debugprint(DEBUG_SOME, "doautoreplay(): doreplay() returned 0, returning 0 to caller...\n");
return 0;
}
+ return 1;
}
// We shouldn't get here