mirror of
https://github.com/ergochat/ergo.git
synced 2024-11-26 05:49:25 +01:00
whois: Send channels without prefix (handled by Send())
This commit is contained in:
parent
a54dcb9057
commit
0a3de9a912
@ -955,7 +955,7 @@ func (client *Client) getWhoisOf(target *Client) {
|
|||||||
|
|
||||||
whoischannels := client.WhoisChannelsNames(target)
|
whoischannels := client.WhoisChannelsNames(target)
|
||||||
if whoischannels != nil {
|
if whoischannels != nil {
|
||||||
client.Send(nil, client.server.name, RPL_WHOISCHANNELS, client.nick, target.nick, fmt.Sprintf(": %s", strings.Join(whoischannels, " ")))
|
client.Send(nil, client.server.name, RPL_WHOISCHANNELS, client.nick, target.nick, strings.Join(whoischannels, " "))
|
||||||
}
|
}
|
||||||
if target.class != nil {
|
if target.class != nil {
|
||||||
client.Send(nil, client.server.name, RPL_WHOISOPERATOR, client.nick, target.nick, target.whoisLine)
|
client.Send(nil, client.server.name, RPL_WHOISOPERATOR, client.nick, target.nick, target.whoisLine)
|
||||||
|
Loading…
Reference in New Issue
Block a user