|
@@ -506,7 +506,9 @@ func (client *Client) getWhoisOf(target *Client, hasPrivs bool, rb *ResponseBuff
|
506
|
506
|
|
507
|
507
|
whoischannels := client.whoisChannelsNames(target, rb.session.capabilities.Has(caps.MultiPrefix), oper.HasRoleCapab("sajoin"))
|
508
|
508
|
if whoischannels != nil {
|
509
|
|
- rb.Add(nil, client.server.name, RPL_WHOISCHANNELS, cnick, tnick, strings.Join(whoischannels, " "))
|
|
509
|
+ for _, line := range utils.BuildTokenLines(400, whoischannels, " ") {
|
|
510
|
+ rb.Add(nil, client.server.name, RPL_WHOISCHANNELS, cnick, tnick, line)
|
|
511
|
+ }
|
510
|
512
|
}
|
511
|
513
|
if target.HasMode(modes.Operator) && operStatusVisible(client, target, oper != nil) {
|
512
|
514
|
tOper := target.Oper()
|