3
0
mirror of https://github.com/ergochat/ergo.git synced 2024-11-22 11:59:40 +01:00

reply: Include param on RPL_ENDOFWHOIS. Fixes #18

This commit is contained in:
Daniel Oaks 2016-04-14 10:16:32 +10:00
parent a241ea7dd6
commit b028b6929c

View File

@ -252,7 +252,7 @@ func (target *Client) RplWhois(client *Client) {
}
target.RplWhoisIdle(client)
target.RplWhoisChannels(client)
target.RplEndOfWhois()
target.RplEndOfWhois(client)
}
func (target *Client) RplWhoisUser(client *Client) {
@ -272,9 +272,9 @@ func (target *Client) RplWhoisIdle(client *Client) {
client.Nick(), client.IdleSeconds(), client.SignonTime())
}
func (target *Client) RplEndOfWhois() {
func (target *Client) RplEndOfWhois(client *Client) {
target.NumericReply(RPL_ENDOFWHOIS,
":End of WHOIS list")
"%s :End of WHOIS list", client.Nick())
}
func (target *Client) RplChannelModeIs(channel *Channel) {