mirror of
https://github.com/ergochat/ergo.git
synced 2024-11-10 22:19:31 +01:00
reply: Include param on RPL_ENDOFWHOIS. Fixes #18
This commit is contained in:
parent
a241ea7dd6
commit
b028b6929c
@ -252,7 +252,7 @@ func (target *Client) RplWhois(client *Client) {
|
|||||||
}
|
}
|
||||||
target.RplWhoisIdle(client)
|
target.RplWhoisIdle(client)
|
||||||
target.RplWhoisChannels(client)
|
target.RplWhoisChannels(client)
|
||||||
target.RplEndOfWhois()
|
target.RplEndOfWhois(client)
|
||||||
}
|
}
|
||||||
|
|
||||||
func (target *Client) RplWhoisUser(client *Client) {
|
func (target *Client) RplWhoisUser(client *Client) {
|
||||||
@ -272,9 +272,9 @@ func (target *Client) RplWhoisIdle(client *Client) {
|
|||||||
client.Nick(), client.IdleSeconds(), client.SignonTime())
|
client.Nick(), client.IdleSeconds(), client.SignonTime())
|
||||||
}
|
}
|
||||||
|
|
||||||
func (target *Client) RplEndOfWhois() {
|
func (target *Client) RplEndOfWhois(client *Client) {
|
||||||
target.NumericReply(RPL_ENDOFWHOIS,
|
target.NumericReply(RPL_ENDOFWHOIS,
|
||||||
":End of WHOIS list")
|
"%s :End of WHOIS list", client.Nick())
|
||||||
}
|
}
|
||||||
|
|
||||||
func (target *Client) RplChannelModeIs(channel *Channel) {
|
func (target *Client) RplChannelModeIs(channel *Channel) {
|
||||||
|
Loading…
Reference in New Issue
Block a user