3
0
mirror of https://github.com/ergochat/ergo.git synced 2025-02-22 08:30:39 +01:00

Merge pull request #1704 from slingamn/issue1703

fix #1703
This commit is contained in:
Shivaram Lingamneni 2021-06-22 02:28:24 -04:00 committed by GitHub
commit 234459a2fe
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -3422,9 +3422,6 @@ func whowasHandler(server *Server, client *Client, msg ircmsg.Message, rb *Respo
//}
cnick := client.Nick()
for _, nickname := range nicknames {
if len(nickname) == 0 {
continue
}
results := server.whoWas.Find(nickname, count)
if len(results) == 0 {
rb.Add(nil, server.name, ERR_WASNOSUCHNICK, cnick, utils.SafeErrorParam(nickname), client.t("There was no such nickname"))