diff options
author | June McEnroe <june@causal.agency> | 2019-10-30 17:33:58 -0400 |
---|---|---|
committer | June McEnroe <june@causal.agency> | 2019-10-30 17:33:58 -0400 |
commit | 399f64ffee9d5c7b7c08209da02b0e51ba98bbaf (patch) | |
tree | 6608a2485204f66667d4d5e86bf2f22b92f3dc16 | |
parent | Add make target for localhost.crt (diff) | |
download | pounce-399f64ffee9d5c7b7c08209da02b0e51ba98bbaf.tar.gz pounce-399f64ffee9d5c7b7c08209da02b0e51ba98bbaf.zip |
Set away status upon connecting
-rw-r--r-- | bounce.c | 1 |
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) { |