diff options
author | michael <michael@82007160-df01-0410-b94d-b575c5fd34c7> | 2013-05-31 18:59:22 +0000 |
---|---|---|
committer | michael <michael@82007160-df01-0410-b94d-b575c5fd34c7> | 2013-05-31 18:59:22 +0000 |
commit | 92e28d4047e9426ceb9ab54aa64a9cf8ff03ed49 (patch) | |
tree | 12d6666e4d74298b662271ffdca2b0735eb1f48a /modules/m_rehash.c | |
parent | 99740e83f2f8a94467ba301431ca2c4192c4c2ed (diff) |
- Implement motd{} configuration blocks based on ircu's implementation
git-svn-id: svn://svn.ircd-hybrid.org/svnroot/ircd-hybrid/branches/8.1.x@2151 82007160-df01-0410-b94d-b575c5fd34c7
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; } |