mirror of https://github.com/fluffle/goirc
Check all nicks against current channel contents for 353 handler.
This commit is contained in:
parent
6c1d345f0b
commit
b0e0be0fe3
|
@ -260,9 +260,8 @@ func (conn *Conn) h_353(line *Line) {
|
|||
// we don't know this nick yet!
|
||||
n = conn.NewNick(nick, "", "", "")
|
||||
}
|
||||
if n != conn.Me {
|
||||
// we will be in the names list, but should also be in
|
||||
// the channel's nick list from the JOIN handler above
|
||||
if _, ok := ch.Nicks[n]; !ok {
|
||||
// This nick isn't associated with this channel yet!
|
||||
ch.AddNick(n)
|
||||
}
|
||||
p := ch.Nicks[n]
|
||||
|
|
Loading…
Reference in New Issue