mirror of
https://github.com/ergochat/ergo.git
synced 2025-02-18 06:30:39 +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)
|
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…
x
Reference in New Issue
Block a user