summary refs log tree commit diff
path: root/bounce.c
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2019-10-30 17:33:58 -0400
committerJune McEnroe <june@causal.agency>2019-10-30 17:33:58 -0400
commit399f64ffee9d5c7b7c08209da02b0e51ba98bbaf (patch)
tree6608a2485204f66667d4d5e86bf2f22b92f3dc16 /bounce.c
parentAdd make target for localhost.crt (diff)
downloadpounce-399f64ffee9d5c7b7c08209da02b0e51ba98bbaf.tar.gz
pounce-399f64ffee9d5c7b7c08209da02b0e51ba98bbaf.zip
Set away status upon connecting
Diffstat (limited to '')
-rw-r--r--bounce.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/bounce.c b/bounce.c
index 2a7acd4..34a56a8 100644
--- a/bounce.c
+++ b/bounce.c
@@ -190,6 +190,7 @@ int main(int argc, char *argv[]) {
 	int server = serverConnect(insecure, host, port);
 	stateLogin(pass, auth, nick, user, real);
 	while (!stateReady()) serverRecv();
+	serverFormat("AWAY :%s\r\n", away);
 	if (join) serverFormat("JOIN :%s\r\n", join);
 
 	for (size_t i = 0; i < binds; ++i) {