From b2688dd9435060460bd8f63f2a6da4828d9a88ac Mon Sep 17 00:00:00 2001 From: Luke Bratch Date: Sun, 19 May 2019 19:52:06 +0100 Subject: Change README a bit and add a comment in replay.c. --- README | 4 ++-- replay.c | 1 + 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; -- cgit v1.2.3