summaryrefslogtreecommitdiff
path: root/message.c
diff options
context:
space:
mode:
Diffstat (limited to 'message.c')
-rw-r--r--message.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/message.c b/message.c
index 5860219..1c511d2 100644
--- a/message.c
+++ b/message.c
@@ -411,6 +411,13 @@ int processservermessage(SSL *server_ssl, char *str, struct client *clients, int
// Relay to all clients
sendtoallclients(clients, str, sourcefd, settings);
+ // Write to replay log if replay logging enabled
+ if (settings->replaylogging) {
+ writereplayline(str, settings->basedir);
+ }
+
+ // TODO - Is there a way to log nick changes to the normal log despite not tracking channels or nicks in each channel?
+
free(svrprefixcopy);
return 1;
}