3
0
mirror of https://github.com/ergochat/ergo.git synced 2024-11-25 21:39:25 +01:00

ERR_HELPNOTFOUND should take the nick as a parameter

This commit is contained in:
Shivaram Lingamneni 2020-12-29 13:19:46 -05:00
parent 6965031aa9
commit 0c9ecbade7

View File

@ -1041,7 +1041,7 @@ Get an explanation of <argument>, or "index" for a list of help topics.`), rb)
client.sendHelp(argument, client.t(helpHandler.text), rb)
}
} else {
rb.Add(nil, server.name, ERR_HELPNOTFOUND, utils.SafeErrorParam(argument), client.t("Help not found"))
rb.Add(nil, server.name, ERR_HELPNOTFOUND, client.Nick(), strings.ToUpper(utils.SafeErrorParam(argument)), client.t("Help not found"))
}
return false