summary refs log tree commit diff
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
parentAdd make target for localhost.crt (diff)
downloadpounce-399f64ffee9d5c7b7c08209da02b0e51ba98bbaf.tar.gz
pounce-399f64ffee9d5c7b7c08209da02b0e51ba98bbaf.zip
Set away status upon connecting
-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) {
nd CC headersJune McEnroe 2019-12-22Add missing includeJune McEnroe 2019-12-22Export In-Reply-To headersJune McEnroe 2019-12-21Add git-fetch-email to READMEJune McEnroe 2019-12-21Clarify purpose in READMEJune McEnroe 2019-12-21Add READMEJune McEnroe 2019-12-21Add copyright header to git-fetch-emailJune McEnroe 2019-12-21Add git-fetch-email to SEE ALSO of imboxJune McEnroe 2019-12-21Add git-fetch-email wrapperJune McEnroe 2019-12-21Determine host by SRV lookupJune McEnroe 2019-12-21Clean up remaining codeJune McEnroe 2019-12-21Clean up mboxrd codeJune McEnroe 2019-12-21Convert CRLF to LFJune McEnroe 2019-12-21Implement -CFSTJune McEnroe 2019-12-21Rewrite aspirational manualJune McEnroe 2019-12-21Null-terminate read literalsJune McEnroe