diff options
Diffstat (limited to 'modules/m_rehash.c')
-rw-r--r-- | modules/m_rehash.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/modules/m_rehash.c b/modules/m_rehash.c index 77f5633..8eebf1c 100644 --- a/modules/m_rehash.c +++ b/modules/m_rehash.c @@ -34,6 +34,7 @@ #include "send.h" #include "parse.h" #include "modules.h" +#include "motd.h" /* @@ -68,9 +69,9 @@ mo_rehash(struct Client *client_p, struct Client *source_p, else if (irccmp(parv[1], "MOTD") == 0) { sendto_realops_flags(UMODE_ALL, L_ALL, SEND_NOTICE, - "%s is forcing re-reading of MOTD file", + "%s is forcing re-reading of MOTD files", get_oper_name(source_p)); - read_message_file(&ConfigFileEntry.motd); + motd_recache(); found = 1; } |