/[svn]/ircd-hybrid-7.2/src/match.c
ViewVC logotype

Diff of /ircd-hybrid-7.2/src/match.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 483 by michael, Mon Feb 27 13:12:59 2006 UTC revision 484 by michael, Mon Feb 27 15:17:04 2006 UTC
# Line 189  match_esc(const char *mask, const char * Line 189  match_esc(const char *mask, const char *
189  int  int
190  match_chan(const char *mask, const char *name)  match_chan(const char *mask, const char *name)
191  {  {
192    return *mask ? (match_esc(mask + (*mask == '#'),    if (*mask == '#')
193                              name + (*name == '#'))) : 0;    {
194        if (*name != '#')
195          return 0;
196        ++name, ++mask;
197      }
198    
199      return match_esc(mask, name);
200  }  }
201    
202  /* collapse()  /* collapse()

Legend:
Removed from v.483  
changed lines
  Added in v.484

svnadmin@ircd-hybrid.org
ViewVC Help
Powered by ViewVC 1.1.28