summaryrefslogtreecommitdiff
path: root/message.c
diff options
context:
space:
mode:
authorLuke Bratch <luke@bratch.co.uk>2019-10-02 19:37:16 +0100
committerLuke Bratch <luke@bratch.co.uk>2019-10-02 19:37:16 +0100
commit2385f7b944bb22acd85e6c089e509880a45a2cb1 (patch)
tree149c7005acbcc3aeb663661ed4b45ef7eef35ade /message.c
parentbe3913f22cc03a6d804d720fb0d3efcc337c4150 (diff)
Try to make removenickfromallchannels() much faster when another user QUITs by ignoring unused channel indexes.
Diffstat (limited to 'message.c')
-rw-r--r--message.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/message.c b/message.c
index a187655..a2c16e4 100644
--- a/message.c
+++ b/message.c
@@ -267,7 +267,7 @@ int processservermessage(SSL *server_ssl, char *str, struct client *clients, int
if (strncmp(tokens[1], "QUIT", strlen(tokens[1])) == 0) {
debugprint(DEBUG_FULL, "Server QUIT found and it is: %s with length %zd! Next token is '%s'.\n", tokens[0], strlen(tokens[0]), tokens[2]);
- // And then send to all clients
+ // Tell all clients
sendtoallclients(clients, str, sourcefd, settings);
// Write to replay log if replay logging enabled