Send self.join without colon
If someone is weird enough to use channel keys, they can -j '#foo key'.master
parent
3085779d86
commit
db499dc5f5
2
handle.c
2
handle.c
|
@ -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) {
|
||||||
|
|
Loading…
Reference in New Issue