Author: Kev <klmitch@mit.edu>
[ircu2.10.12-pk.git] / ircd / m_motd.c
index d08ded74893d3cdc53dcac116d4c492ef5d2c5d4..f75cadfbb8b7730489e09520682fe637c420bb9e 100644 (file)
@@ -79,6 +79,8 @@
  *            note:   it is guaranteed that parv[0]..parv[parc-1] are all
  *                    non-NULL pointers.
  */
+#include "config.h"
+
 #if 0
 /*
  * No need to include handlers.h here the signatures must match
@@ -124,7 +126,7 @@ int m_motd(struct Client* cptr, struct Client* sptr, int parc, char* parv[])
       HUNTED_ISME)
     return 0;
 
-  return motd_send(sptr, motd_find(sptr));
+  return motd_send(sptr);
 }
 
 /*
@@ -147,5 +149,5 @@ int ms_motd(struct Client* cptr, struct Client* sptr, int parc, char* parv[])
       HUNTED_ISME)
     return 0;
 
-  return motd_send(sptr, motd_find(sptr));
+  return motd_send(sptr);
 }