mirror of
https://github.com/ergochat/ergo.git
synced 2024-11-11 06:29:29 +01:00
ERR_HELPNOTFOUND should take the nick as a parameter
This commit is contained in:
parent
6965031aa9
commit
0c9ecbade7
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user