summaryrefslogtreecommitdiff
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
parentba40937ad1b15d2a319cd472045f85eb32e4d5b5 (diff)
Change README a bit and add a comment in replay.c.
-rw-r--r--README4
-rw-r--r--replay.c1
2 files changed, 3 insertions, 2 deletions
diff --git a/README b/README
index 94777e6..59524a7 100644
--- a/README
+++ b/README
@@ -19,8 +19,8 @@ If you don't specify one using "-c /path/to/configuration/file" then the example
To use TLS for client connections, which is enabled by default in the example configuration file, you will need to provide both a certificate and a key file.
One way of creating these is to use OpenSSL:
-# openssl genrsa 2048 > key.pem
-# openssl req -x509 -days 30 -new -key key.pem -out cert.pem
+# openssl genrsa 2048 > ~/.blabouncer/key.pem
+# openssl req -x509 -days 30 -new -key ~/.blabouncer/key.pem -out ~/.blabouncer/cert.pem
But you can create them however you like, or disable client TLS (not recommended) using the "clienttls" configuration file option.
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;