mirror of
https://github.com/ergochat/ergo.git
synced 2025-12-20 10:10:08 -08:00
parent
172a6675ac
commit
f925ae322a
1 changed files with 3 additions and 1 deletions
|
|
@ -479,7 +479,9 @@ func (client *Client) getWhoisOf(target *Client, hasPrivs bool, rb *ResponseBuff
|
|||
|
||||
whoischannels := client.whoisChannelsNames(target, rb.session.capabilities.Has(caps.MultiPrefix), oper.HasRoleCapab("sajoin"))
|
||||
if whoischannels != nil {
|
||||
rb.Add(nil, client.server.name, RPL_WHOISCHANNELS, cnick, tnick, strings.Join(whoischannels, " "))
|
||||
for _, line := range utils.BuildTokenLines(400, whoischannels, " ") {
|
||||
rb.Add(nil, client.server.name, RPL_WHOISCHANNELS, cnick, tnick, line)
|
||||
}
|
||||
}
|
||||
if target.HasMode(modes.Operator) && operStatusVisible(client, target, oper != nil) {
|
||||
tOper := target.Oper()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue