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

Comparing ircd-hybrid/trunk/modules/m_whois.c (file contents):
Revision 5392 by michael, Tue Jan 20 13:40:41 2015 UTC vs.
Revision 5400 by michael, Tue Jan 20 15:12:10 2015 UTC

# Line 159 | Line 159 | whois_person(struct Client *source_p, st
159      *m++ = '+';
160  
161      for (const struct user_modes *tab = umode_tab; tab->c; ++tab)
162 <      *m++ = tab->c;
162 >      if (HasUMode(target_p, tab->flag))
163 >        *m++ = tab->c;
164      *m = '\0';
165  
166      sendto_one_numeric(source_p, &me, RPL_WHOISMODES, target_p->name, buf);

Diff Legend

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