#include "client.h"
#include "channel.h"
#include "common.h"
-#include "irc_string.h"
+#include "match.h"
#include "ircd.h"
#include "s_serv.h"
#include "numeric.h"
"%s is forcing re-reading of MOTD file",
get_oper_name(source_p));
- free_cachefile(user_motd);
- user_motd = cache_file(MPATH, "ircd.motd", 0);
+ cache_user_motd();
}
static void
for (x = 0; rehash_commands[x].cmd != NULL && rehash_commands[x].handler != NULL;
x++)
{
- strlcat(cmdbuf, " ", sizeof(cmdbuf));
- strlcat(cmdbuf, rehash_commands[x].cmd, sizeof(cmdbuf));
+ rb_strlcat(cmdbuf, " ", sizeof(cmdbuf));
+ rb_strlcat(cmdbuf, rehash_commands[x].cmd, sizeof(cmdbuf));
}
sendto_one_notice(source_p, ":rehash one of:%s", cmdbuf);
}