summaryrefslogtreecommitdiff
path: root/irc/nefarious/files/patch-ircd_m__help.c
diff options
context:
space:
mode:
Diffstat (limited to 'irc/nefarious/files/patch-ircd_m__help.c')
-rw-r--r--irc/nefarious/files/patch-ircd_m__help.c19
1 files changed, 19 insertions, 0 deletions
diff --git a/irc/nefarious/files/patch-ircd_m__help.c b/irc/nefarious/files/patch-ircd_m__help.c
new file mode 100644
index 000000000000..88365ba776bd
--- /dev/null
+++ b/irc/nefarious/files/patch-ircd_m__help.c
@@ -0,0 +1,19 @@
+--- ircd/m_help.c.orig 2008-08-04 02:55:42.000000000 +0000
++++ ircd/m_help.c
+@@ -243,6 +243,7 @@ sendhelpfile(struct Client *sptr, const
+ send_reply(sptr, RPL_ENDOFHELP, topic);
+ }
+
++void
+ dohelp(struct Client *sptr, const char *hpath, char *topic)
+ {
+ char path[PATH_MAX + 1];
+@@ -291,7 +292,7 @@ dohelp(struct Client *sptr, const char *
+ sendhelpfile(sptr, path, topic);
+ }
+
+-int m_help(struct Client* cptr, struct Client* sptr, int parc, char* parv[])
++void m_help(struct Client* cptr, struct Client* sptr, int parc, char* parv[])
+ {
+ static time_t last_used = 0;
+