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

Comparing ircd-hybrid/branches/8.2.x/modules/core/m_sjoin.c (file contents):
Revision 8088 by michael, Wed Mar 29 12:21:50 2017 UTC vs.
Revision 8090 by michael, Wed Mar 29 12:49:28 2017 UTC

# Line 137 | Line 137 | ms_sjoin(struct Client *source_p, int pa
137  
138        default:
139        {
140 <        const struct mode_letter *cmode = cmode_map[(unsigned char)*modes];
140 >        const struct chan_mode *cmode = cmode_map[(unsigned char)*modes];
141  
142          if (cmode)
143            mode.mode |= cmode->mode;
# Line 563 | Line 563 | set_final_mode(struct Mode *mode, struct
563  
564    *mbuf++ = '-';
565  
566 <  for (const struct mode_letter *tab = cmode_tab; tab->letter; ++tab)
566 >  for (const struct chan_mode *tab = cmode_tab; tab->letter; ++tab)
567      if (tab->mode && (tab->mode & oldmode->mode) && !(tab->mode & mode->mode))
568        *mbuf++ = tab->letter;
569  
# Line 583 | Line 583 | set_final_mode(struct Mode *mode, struct
583    else
584      *mbuf++ = '+';
585  
586 <  for (const struct mode_letter *tab = cmode_tab; tab->letter; ++tab)
586 >  for (const struct chan_mode *tab = cmode_tab; tab->letter; ++tab)
587      if (tab->mode && (tab->mode & mode->mode) && !(tab->mode & oldmode->mode))
588        *mbuf++ = tab->letter;
589  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines