summaryrefslogtreecommitdiff
path: root/functions.c
diff options
context:
space:
mode:
authorLuke Bratch <luke@bratch.co.uk>2022-11-23 20:22:56 +0000
committerLuke Bratch <luke@bratch.co.uk>2022-11-23 20:22:56 +0000
commit2088fd76f4ba95bfceb6511a266b0d2bf2fa3402 (patch)
tree39463d1da4cfc90df4f69a62c2b7de74fda9f4f4 /functions.c
parentd754d919565946442d0d83da0c88986b166d386d (diff)
Correct comments in functions.c.
Diffstat (limited to 'functions.c')
-rw-r--r--functions.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/functions.c b/functions.c
index 6bd8a9c..917f688 100644
--- a/functions.c
+++ b/functions.c
@@ -873,7 +873,7 @@ int channelindex(struct channel *channels, int maxchannelcount, char *name) {
return -1;
}
-// Send the requested number of lines of replay log to the requested client.
+// Send the requested number of seconds worth of replay log lines to the requested client.
// 'sourcefd' is the client to send to, and 'replayseconds' is the number of
// seconds of replay log to replay.
// Returns 1 for success or 0 for failure.
@@ -1033,7 +1033,7 @@ int doautoreplay(int sourcefd, struct client *clients, struct settings *settings
return 1;
}
- // If replaymode = "lastchange" then don't handle this here, it is done when the client registers its client code
+ // If replaymode = "perclient" then don't handle this here, it is done when the client registers its client code
if (!strncmp(settings->replaymode, "perclient", strlen("perclient"))) {
return 1;
}