Send self.join without colon

If someone is weird enough to use channel keys, they can -j '#foo key'.
weechat-hashes
C. McEnroe 2020-02-06 01:03:21 -05:00
parent 3085779d86
commit db499dc5f5
1 changed files with 1 additions and 1 deletions

View File

@ -149,7 +149,7 @@ static void handleErrorSASLFail(struct Message *msg) {
static void handleReplyWelcome(struct Message *msg) { static void handleReplyWelcome(struct Message *msg) {
require(msg, false, 1); require(msg, false, 1);
set(&self.nick, msg->params[0]); 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) { static void handleReplyISupport(struct Message *msg) {