Fix NJOIN handler killing all clients
This bug has been introduced by commit 1e386fb7ac
which had
the logic reversed :-(
Reported by "ninguno" in #ngircd, thanks a lot!
This commit is contained in:
parent
01e590b007
commit
d90f0323e5
|
@ -283,7 +283,7 @@ IRC_NJOIN( CLIENT *Client, REQUEST *Req )
|
||||||
goto skip_njoin;
|
goto skip_njoin;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (Channel_Join(c, channame)) {
|
if (!Channel_Join(c, channame)) {
|
||||||
/* Failed to join channel. Ooops!? */
|
/* Failed to join channel. Ooops!? */
|
||||||
Log(LOG_ALERT,
|
Log(LOG_ALERT,
|
||||||
"Failed to join client \"%s\" to channel \"%s\" (NJOIN): killing it!",
|
"Failed to join client \"%s\" to channel \"%s\" (NJOIN): killing it!",
|
||||||
|
|
Loading…
Reference in New Issue