diff options
author | Luke Bratch <luke@bratch.co.uk> | 2019-05-19 19:52:06 +0100 |
---|---|---|
committer | Luke Bratch <luke@bratch.co.uk> | 2019-05-19 19:52:06 +0100 |
commit | b2688dd9435060460bd8f63f2a6da4828d9a88ac (patch) | |
tree | 2a5380807e697eb36efbe50b8214e49a3f71a3bb | |
parent | ba40937ad1b15d2a319cd472045f85eb32e4d5b5 (diff) |
Change README a bit and add a comment in replay.c.
-rw-r--r-- | README | 4 | ||||
-rw-r--r-- | replay.c | 1 |
2 files changed, 3 insertions, 2 deletions
@@ -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. @@ -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; |