From 295a2e35f4c76ddb270f3a26eff4e35bc89dbaef Mon Sep 17 00:00:00 2001 From: Michael Ortmann <41313082+michaelortmann@users.noreply.github.com> Date: Sun, 13 Oct 2024 19:18:24 +0200 Subject: [PATCH] ".help " fill now be resolved like it was ".help module" --- src/misc.c | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/misc.c b/src/misc.c index 4eae6189f..31ce4cb32 100644 --- a/src/misc.c +++ b/src/misc.c @@ -1247,6 +1247,13 @@ void tellhelp(int idx, char *file, struct flag_record *flags, int fl) if (f) lines = display_tellhelp(idx, file, f, flags); + else if (!strstr(file, " module")) { + char file_module[1024]; + snprintf(file_module, sizeof file_module, "%s module", file); + f = resolve_help(HELP_DCC | fl, file_module); + if (f) + lines = display_tellhelp(idx, file_module, f, flags); + } if (!lines && !(fl & HELP_TEXT)) dprintf(idx, "%s\n", IRC_NOHELP2); }