summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--replay.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/replay.c b/replay.c
index de11988..bdfe2c0 100644
--- a/replay.c
+++ b/replay.c
@@ -482,6 +482,7 @@ long lastspokelinenumber(char *nick, char *basedir) {
if (timestamp < 0) {
fclose(fp);
debugprint(DEBUG_CRIT, "lastspokelinenumber(): line didn't start with a timestamp, returning -1!\n", counter);
+ return -1;
}
// Is it a PRIVMSG?