/[svn]/ircd-hybrid-7.2/modules/m_names.c
ViewVC logotype

Diff of /ircd-hybrid-7.2/modules/m_names.c

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

revision 631 by lusky, Sun Oct 2 21:05:51 2005 UTC revision 632 by michael, Thu Jun 1 10:53:00 2006 UTC
# Line 90  m_names(struct Client *client_p, struct Line 90  m_names(struct Client *client_p, struct
90    if (!EmptyString(para))    if (!EmptyString(para))
91    {    {
92      while (*para == ',')      while (*para == ',')
93        para++;        ++para;
94    
95      if ((s = strchr(para, ',')) != NULL)      if ((s = strchr(para, ',')) != NULL)
96        *s = '\0';        *s = '\0';
# Line 98  m_names(struct Client *client_p, struct Line 98  m_names(struct Client *client_p, struct
98      if (*para == '\0')      if (*para == '\0')
99        return;        return;
100    
     if (!check_channel_name(para))  
     {  
       sendto_one(source_p, form_str(ERR_BADCHANNAME),  
                  me.name, source_p->name, para);  
       return;  
     }  
   
101      if ((chptr = hash_find_channel(para)) != NULL)      if ((chptr = hash_find_channel(para)) != NULL)
102        channel_member_names(source_p, chptr, 1);        channel_member_names(source_p, chptr, 1);
103      else      else

Legend:
Removed from v.631  
changed lines
  Added in v.632

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