about summary refs log tree commit diff
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2021-04-09 18:19:06 -0400
committerJune McEnroe <june@causal.agency>2021-04-09 18:19:06 -0400
commit48ff8c564f9bf8ed60a579b713901de23cf938b6 (patch)
treed9e8ca533f4cbd2784b5834d6930ea501bb33d55
parentAdd donation link to README (diff)
downloadpounce-48ff8c564f9bf8ed60a579b713901de23cf938b6.tar.gz
pounce-48ff8c564f9bf8ed60a579b713901de23cf938b6.zip
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.
-rw-r--r--bounce.c2
1 files changed, 1 insertions, 1 deletions
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);