ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/svn/ircd-hybrid/branches/8.2.x/modules/m_watch.c
(Generate patch)

Comparing ircd-hybrid/branches/8.2.x/modules/m_watch.c (file contents):
Revision 8731 by michael, Sun Nov 18 12:53:34 2018 UTC vs.
Revision 8732 by michael, Sat Dec 15 16:54:54 2018 UTC

# Line 84 | Line 84 | m_watch(struct Client *source_p, int par
84    if (parc < 2)
85      parv[1] = def;
86  
87 <  for (char *s = strtok_r(parv[1], ", ", &p); s;
88 <             s = strtok_r(NULL,    ", ", &p))
87 >  for (const char *s = strtok_r(parv[1], ", ", &p); s;
88 >                   s = strtok_r(NULL,    ", ", &p))
89    {
90      char *user;
91      if ((user = strchr(s, '!')))

Diff Legend

Removed lines
+ Added lines
< Changed lines (old)
> Changed lines (new)