#include "stdinc.h"
#include "client.h"
-#include "irc_string.h"
-#include "sprintf_irc.h"
+#include "match.h"
#include "ircd.h"
#include "numeric.h"
#include "send.h"
for (i = 1; i < parc; i++)
{
char *cs = LOCAL_COPY(parv[i]);
- for (nick = strtoken(&p, cs, " "); nick; nick = strtoken(&p, NULL, " "))
+ for (nick = rb_strtok_r(cs, " ", &p); nick; nick = rb_strtok_r(NULL, " ", &p))
{
target_p = find_named_client(nick);