diff options
author | C. McEnroe | 2020-02-06 01:03:21 -0500 |
---|---|---|
committer | C. McEnroe | 2020-02-06 01:03:21 -0500 |
commit | db499dc5f50dba23c2ab218d439cfce51c41bc6b (patch) | |
tree | 746e3fac411890f144b027f7e5b1907d094e0157 | |
parent | 3085779d86f3ed66bd24eccf1f64ffc1bd71afcd (diff) |
Send self.join without colon
If someone is weird enough to use channel keys, they can -j '#foo key'.
-rw-r--r-- | handle.c | 2 |
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) { |