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 'bounce.c')
-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);