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

Comparing ircd-hybrid/trunk/modules/m_svsmode.c (file contents):
Revision 5392 by michael, Tue Jan 20 13:40:41 2015 UTC vs.
Revision 5548 by michael, Thu Feb 12 14:26:11 2015 UTC

# Line 57 | Line 57 | ms_svsmode(struct Client *source_p, int
57    const struct user_modes *tab = NULL;
58    struct Client *target_p = NULL;
59    int what = MODE_ADD;
60 <  unsigned int setmodes = 0;
60 >  const unsigned int setmodes = target_p->umodes;
61    const char *modes = NULL, *extarg = NULL;
62    time_t ts = 0;
63  
# Line 74 | Line 74 | ms_svsmode(struct Client *source_p, int
74    if (ts && (ts != target_p->tsinfo))
75      return 0;
76  
77 –  setmodes = target_p->umodes;
78 –
77    for (const char *m = modes; *m; ++m)
78    {
79      switch (*m)

Diff Legend

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