summary refs log tree commit diff
path: root/bounce.c
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2019-10-24 00:15:32 -0400
committerJune McEnroe <june@causal.agency>2019-10-24 00:15:32 -0400
commit5797e8b972435a01c0770f8ac71a923f97460c61 (patch)
treeffa3403765717eec93bb79c1840593416def39ab /bounce.c
parentRename some things (diff)
downloadpounce-5797e8b972435a01c0770f8ac71a923f97460c61.tar.gz
pounce-5797e8b972435a01c0770f8ac71a923f97460c61.zip
Make serverFormat public
Diffstat (limited to '')
-rw-r--r--bounce.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/bounce.c b/bounce.c
index 33d4e9d..6de5e5d 100644
--- a/bounce.c
+++ b/bounce.c
@@ -124,7 +124,7 @@ int main(int argc, char *argv[]) {
 	while (!stateReady()) {
 		serverRecv();
 	}
-	if (join) serverJoin(join);
+	if (join) serverFormat("JOIN :%s\r\n", join);
 
 	for (size_t i = 0; i < binds; ++i) {
 		int error = listen(bind[i], 1);
return value exactly matches Plan 9's in the case of truncation. seprint(2) is described only as returning a pointer to the terminating '\0', but if it does so even in the case of truncation, it is awkward for the caller to detect. This implementation returns end in the truncation case, so that (ptr == end) indicates truncation. 2021-05-27Add pounce-notify to README 2.4June McEnroe 2021-05-27Fix ENVIRONMENT formatting in pounce-notify(1)June McEnroe 2021-05-27Add note about Libera.Chat SASL-only rangesJune McEnroe 2021-05-25Add QUIRKS fileJune McEnroe 2021-05-19Replace freenode with tilde.chatJune McEnroe 2021-05-04notify: Reword pounce-notify manualJune McEnroe 2021-05-02Clean up Makefiles, configure scriptsJune McEnroe Default MANDIR to ${PREFIX}/man since it turns out man-db includes /usr/local/man by default. Add support for BINDIR. Separate libs out into LDADD variables. 2021-04-30palaver: Exit on getopt failureJune McEnroe Oops. 2021-04-30notify: Implement pounce-notifyJune McEnroe