summary refs log tree commit diff
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2020-02-06 01:03:21 -0500
committerJune McEnroe <june@causal.agency>2020-02-06 01:03:21 -0500
commitdb499dc5f50dba23c2ab218d439cfce51c41bc6b (patch)
tree746e3fac411890f144b027f7e5b1907d094e0157
parentHandle ERROR (diff)
downloadcatgirl-db499dc5f50dba23c2ab218d439cfce51c41bc6b.tar.gz
catgirl-db499dc5f50dba23c2ab218d439cfce51c41bc6b.zip
Send self.join without colon
If someone is weird enough to use channel keys, they can -j '#foo key'.
Diffstat (limited to '')
-rw-r--r--handle.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/handle.c b/handle.c
index 89ebcb2..a111b16 100644
--- a/handle.c
+++ b/handle.c
@@ -149,7 +149,7 @@ static void handleErrorSASLFail(struct Message *msg) {
 static void handleReplyWelcome(struct Message *msg) {
 	require(msg, false, 1);
 	set(&self.nick, msg->params[0]);
-	if (self.join) ircFormat("JOIN :%s\r\n", self.join);
+	if (self.join) ircFormat("JOIN %s\r\n", self.join);
 }
 
 static void handleReplyISupport(struct Message *msg) {
p;follow=1'>Add photos from May 31June McEnroe 2024-06-09Use monospace on photo pagesJune McEnroe 2024-06-09Put lens and (future) film at the tops of photo pagesJune McEnroe 2024-05-22Remove use of sysexits.hJune McEnroe 2024-05-22Add photo descriptions from 05-03 and 05-06June McEnroe 2024-05-21Fix = precedence in whenJune McEnroe