Set channel state to joined when channel already exists
Fixes #2141 Fixes #2103
This commit is contained in:
parent
c485ec8c42
commit
7a0a1b86f6
@ -24,6 +24,8 @@ module.exports = function(irc, network) {
|
||||
|
||||
// Request channels' modes
|
||||
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});
|
||||
|
Loading…
Reference in New Issue
Block a user