Skip non-auth users from Who List
This commit is contained in:
parent
063b3c2f04
commit
2c2d140e57
|
@ -317,6 +317,9 @@ func (s *Server) SendWhoList() {
|
|||
)
|
||||
|
||||
for _, sub := range subscribers {
|
||||
if !sub.authenticated {
|
||||
continue
|
||||
}
|
||||
usernames = append(usernames, sub.Username)
|
||||
userSub[sub.Username] = sub
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user