forked from External/ergo
use Nick()
This commit is contained in:
parent
3e2138db4f
commit
5cdb81e1ea
1 changed files with 1 additions and 1 deletions
|
|
@ -1412,7 +1412,7 @@ func listHandler(server *Server, client *Client, msg ircmsg.IrcMessage, rb *Resp
|
||||||
if time.Since(client.ctime) < config.Channels.ListDelay && client.Account() == "" {
|
if time.Since(client.ctime) < config.Channels.ListDelay && client.Account() == "" {
|
||||||
remaining := time.Until(client.ctime.Add(config.Channels.ListDelay))
|
remaining := time.Until(client.ctime.Add(config.Channels.ListDelay))
|
||||||
csNotice(rb, fmt.Sprintf(client.t("This server requires that you wait %v after connecting before you can use /LIST. You have %v left."), config.Channels.ListDelay, remaining))
|
csNotice(rb, fmt.Sprintf(client.t("This server requires that you wait %v after connecting before you can use /LIST. You have %v left."), config.Channels.ListDelay, remaining))
|
||||||
rb.Add(nil, server.name, RPL_LISTEND, client.nick, client.t("End of LIST"))
|
rb.Add(nil, server.name, RPL_LISTEND, client.Nick(), client.t("End of LIST"))
|
||||||
return false
|
return false
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue