summary refs log tree commit diff
path: root/litterbox.c
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2020-01-10 23:49:58 -0500
committerJune McEnroe <june@causal.agency>2020-01-10 23:49:58 -0500
commit6a197ca137db1d5a9c94e1686119ac00b8b92550 (patch)
tree2613644aab7729d97d7f34604297fb8e6f4165cc /litterbox.c
parentImport getopt_config from pounce (diff)
downloadlitterbox-6a197ca137db1d5a9c94e1686119ac00b8b92550.tar.gz
litterbox-6a197ca137db1d5a9c94e1686119ac00b8b92550.zip
Request the causal.agency/passive capability
This is implemented by pounce and prevents litterbox from affecting the
away status of pounce's server connection.
Diffstat (limited to '')
-rw-r--r--litterbox.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/litterbox.c b/litterbox.c
index 3fac55a..335d6e7 100644
--- a/litterbox.c
+++ b/litterbox.c
@@ -719,6 +719,7 @@ int main(int argc, char *argv[]) {
 
 	if (pass) format("PASS :%s\r\n", pass);
 	format("CAP REQ :server-time\r\n");
+	format("CAP REQ :causal.agency/passive\r\n");
 	format("NICK :%s\r\nUSER %s 0 * :Litterbox\r\n", nick, user);
 
 	signal(SIGINT, quit);