summaryrefslogtreecommitdiff
path: root/replay.c
diff options
context:
space:
mode:
authorLuke Bratch <luke@bratch.co.uk>2019-05-19 19:52:06 +0100
committerLuke Bratch <luke@bratch.co.uk>2019-05-19 19:52:06 +0100
commitb2688dd9435060460bd8f63f2a6da4828d9a88ac (patch)
tree2a5380807e697eb36efbe50b8214e49a3f71a3bb /replay.c
parentba40937ad1b15d2a319cd472045f85eb32e4d5b5 (diff)
Change README a bit and add a comment in replay.c.
Diffstat (limited to 'replay.c')
-rw-r--r--replay.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/replay.c b/replay.c
index abd55c7..8926c9e 100644
--- a/replay.c
+++ b/replay.c
@@ -97,6 +97,7 @@ void formattime(char *str) {
char *ret2;
int pos2;
// Find the start of the actual message within the PRIVMSG
+ // TODO - What if it's some other message with a colon in it? Find PRIVMSG or not properly.
if ((ret2 = strstr(ret, ":")) != NULL) {
// Position within ret of ":"
pos2 = ret2 - ret;