mirror of
https://github.com/ergochat/ergo.git
synced 2025-02-23 00:50:39 +01:00
commit
234459a2fe
@ -3422,9 +3422,6 @@ func whowasHandler(server *Server, client *Client, msg ircmsg.Message, rb *Respo
|
|||||||
//}
|
//}
|
||||||
cnick := client.Nick()
|
cnick := client.Nick()
|
||||||
for _, nickname := range nicknames {
|
for _, nickname := range nicknames {
|
||||||
if len(nickname) == 0 {
|
|
||||||
continue
|
|
||||||
}
|
|
||||||
results := server.whoWas.Find(nickname, count)
|
results := server.whoWas.Find(nickname, count)
|
||||||
if len(results) == 0 {
|
if len(results) == 0 {
|
||||||
rb.Add(nil, server.name, ERR_WASNOSUCHNICK, cnick, utils.SafeErrorParam(nickname), client.t("There was no such nickname"))
|
rb.Add(nil, server.name, ERR_WASNOSUCHNICK, cnick, utils.SafeErrorParam(nickname), client.t("There was no such nickname"))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user