diff options
| author | Luke Bratch <luke@bratch.co.uk> | 2019-09-07 15:31:01 +0100 | 
|---|---|---|
| committer | Luke Bratch <luke@bratch.co.uk> | 2019-09-07 15:31:01 +0100 | 
| commit | 979b594b9a58059a5159f2a950e0a71c64f35e38 (patch) | |
| tree | e395e679d08bb963d75a388fa723942b967cd1c3 /message.c | |
| parent | c4e88bfe0c918604cb588ab8b3ce7d29b138cd0f (diff) | |
Avoid non-existent users appearing in channels after they change nicks by replay logging nick changes.
Diffstat (limited to 'message.c')
| -rw-r--r-- | message.c | 7 | 
1 files changed, 7 insertions, 0 deletions
@@ -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;      }  | 
