]> jfr.im git - irc/rqf/shadowircd.git/blobdiff - modules/m_rehash.c
Pretty symlink logic for help files
[irc/rqf/shadowircd.git] / modules / m_rehash.c
index dc81c43170e09304f3755d3955fa99c1e4f17730..8bddf18ef4a14f716d7521ab9677d7384de89ae7 100644 (file)
@@ -28,7 +28,7 @@
 #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"
@@ -285,8 +285,8 @@ do_rehash(struct Client *source_p, const char *type)
                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);
        }