summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
Diffstat (limited to 'modules')
-rw-r--r--modules/m_help.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/m_help.c b/modules/m_help.c
index dc59641..053e9fc 100644
--- a/modules/m_help.c
+++ b/modules/m_help.c
@@ -52,6 +52,7 @@ sendhelpfile(struct Client *source_p, const char *path, const char *topic)
{
sendto_one(source_p, form_str(ERR_HELPNOTFOUND),
me.name, source_p->name, topic);
+ fclose(file);
return;
}