mirror of
https://github.com/ergochat/ergo.git
synced 2025-12-20 02:00:11 -08:00
ERR_HELPNOTFOUND should take the nick as a parameter
This commit is contained in:
parent
6965031aa9
commit
0c9ecbade7
1 changed files with 1 additions and 1 deletions
|
|
@ -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)
|
client.sendHelp(argument, client.t(helpHandler.text), rb)
|
||||||
}
|
}
|
||||||
} else {
|
} 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
|
return false
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue