From 48ff8c564f9bf8ed60a579b713901de23cf938b6 Mon Sep 17 00:00:00 2001
From: "C. McEnroe" <june@causal.agency>
Date: Fri, 9 Apr 2021 18:19:06 -0400
Subject: Don't use :trailing parameter for JOIN

It seems some IRCds don't even parse this correctly. It also should
never have been done this way since it breaks sending channel keys.
---
 bounce.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/bounce.c b/bounce.c
index d0bccfc..4872814 100644
--- a/bounce.c
+++ b/bounce.c
@@ -465,7 +465,7 @@ int main(int argc, char *argv[]) {
 
 	while (!stateReady()) serverRecv();
 	serverFormat("AWAY :%s\r\n", clientAway);
-	if (join) serverFormat("JOIN :%s\r\n", join);
+	if (join) serverFormat("JOIN %s\r\n", join);
 
 	signal(SIGINT, signalHandler);
 	signal(SIGTERM, signalHandler);
-- 
cgit 1.4.1