summary refs log tree commit diff
path: root/client.c
diff options
context:
space:
mode:
Diffstat (limited to 'client.c')
-rw-r--r--client.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/client.c b/client.c
index 25707a8..e260bc7 100644
--- a/client.c
+++ b/client.c
@@ -69,7 +69,7 @@ struct Client *clientAlloc(struct tls *tls) {
 void clientFree(struct Client *client) {
 	if (!client->need) {
 		if (!(client->caps & CapPassive) && !--active) {
-			serverFormat("AWAY :%s\r\n", clientAway);
+			serverEnqueue("AWAY :%s\r\n", clientAway);
 		}
 	}
 	tls_close(client->tls);
@@ -122,7 +122,7 @@ static void maybeSync(struct Client *client) {
 		stateSync(client);
 		if (client->setPos) ringSet(client->consumer, client->setPos);
 		if (!(client->caps & CapPassive) && !active++) {
-			serverFormat("AWAY\r\n");
+			serverEnqueue("AWAY\r\n");
 		}
 	}
 }
t/bin/hi.c?id=ef41b4a1a81baa4012038ada0b69c20651c56c81&follow=1'>Fix matching make tags with no sourcesJune McEnroe 2019-12-19Avoid matching := assignments as tagsJune McEnroe 2019-12-18Hide line numbers when rendering mdocJune McEnroe 2019-12-18Customize cgit CSSJune McEnroe 2019-12-18Use :target rather than :focus pseudo-classJune McEnroe 2019-12-18Copy cgit auxiliary binaries properlyJune McEnroe 2019-12-18Add git.causal.agency cgit configJune McEnroe 2019-12-18Bail from hi if input is binaryJune McEnroe 2019-12-16Post "cgit setup"June McEnroe