summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--TODO4
-rw-r--r--functions.c2
2 files changed, 2 insertions, 4 deletions
diff --git a/TODO b/TODO
index e58b82c..b1ff47d 100644
--- a/TODO
+++ b/TODO
@@ -1,6 +1,2 @@
Add various auto replay options:
- All logs since the current client last disconnected (track clients with some special token the client auto sends on connect)
-
-Might need to #include <limits.h> in blabouncer.c to make some operating systems and/or compilers happy.
-
-Don't say "Unable to read replay log file!" just because there was nothing to replay.
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