Merge pull request #2142 from thelounge/xpaw/fix-2141
Set channel state to joined when channel already exists
This commit is contained in:
commit
92bd4ed083
@ -24,6 +24,8 @@ module.exports = function(irc, network) {
|
|||||||
|
|
||||||
// Request channels' modes
|
// Request channels' modes
|
||||||
network.irc.raw("MODE", chan.name);
|
network.irc.raw("MODE", chan.name);
|
||||||
|
} else if (data.nick === irc.user.nick) {
|
||||||
|
chan.state = Chan.State.JOINED;
|
||||||
}
|
}
|
||||||
|
|
||||||
const user = new User({nick: data.nick});
|
const user = new User({nick: data.nick});
|
||||||
|
Loading…
Reference in New Issue
Block a user