mirror of
https://github.com/osmarks/ngircd.git
synced 2025-03-13 04:28:10 +00:00
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;
|
||||
}
|
||||
|
||||
if (Channel_Join(c, channame)) {
|
||||
if (!Channel_Join(c, channame)) {
|
||||
/* Failed to join channel. Ooops!? */
|
||||
Log(LOG_ALERT,
|
||||
"Failed to join client \"%s\" to channel \"%s\" (NJOIN): killing it!",
|
||||
|
Loading…
x
Reference in New Issue
Block a user