]> jfr.im git - irc/rqf/shadowircd.git/blobdiff - modules/m_scan.c
Get rid of ", " at the start of some oper privs strings.
[irc/rqf/shadowircd.git] / modules / m_scan.c
index 37a078332d876840ffe098476950366171e57e26..23a64b35291c50a5f885c6aabb43d9157dc580c7 100644 (file)
@@ -38,7 +38,7 @@
 #include "hash.h"
 #include "common.h"
 #include "hash.h"
-#include "irc_string.h"
+#include "match.h"
 #include "ircd.h"
 #include "numeric.h"
 #include "s_serv.h"
@@ -178,11 +178,11 @@ scan_umodes(struct Client *client_p, struct Client *source_p, int parc,
                {
                        if (!ConfigFileEntry.operspy_dont_care_user_info)
                        {
-                               strlcpy(buf, "UMODES", sizeof buf);
+                               rb_strlcpy(buf, "UMODES", sizeof buf);
                                for (i = 2; i < parc; i++)
                                {
-                                       strlcat(buf, " ", sizeof buf);
-                                       strlcat(buf, parv[i], sizeof buf);
+                                       rb_strlcat(buf, " ", sizeof buf);
+                                       rb_strlcat(buf, parv[i], sizeof buf);
                                }
                                report_operspy(source_p, "SCAN", buf);
                        }