Browse Source

ERR_HELPNOTFOUND should take the nick as a parameter

tags/v2.5.0-rc1
Shivaram Lingamneni 3 years ago
parent
commit
0c9ecbade7
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      irc/handlers.go

+ 1
- 1
irc/handlers.go View File

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

Loading…
Cancel
Save