about summary refs log tree commit diff
path: root/handle.c
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 /handle.c
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 'handle.c')
-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) {