/[svn]/ircd-hybrid-8/modules/m_invite.c
ViewVC logotype

Diff of /ircd-hybrid-8/modules/m_invite.c

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

revision 1473 by michael, Tue Jun 26 18:33:45 2012 UTC revision 1474 by michael, Sun Jul 22 14:44:07 2012 UTC
# Line 74  m_invite(struct Client *client_p, struct Line 74  m_invite(struct Client *client_p, struct
74      return;      return;
75    }    }
76    
   /* Do not send local channel invites to users if they are not on the  
    * same server as the person sending the INVITE message.  
    */  
   /* Possibly should be an error sent to source_p */  
   /* done .. there should be no problem because MyConnect(source_p) should  
    * always be true if parse() and such is working correctly --is  
    */  
   if ((*parv[2] == '&') && !MyConnect(target_p))  
   {  
     if (ConfigServerHide.hide_servers == 0)  
       sendto_one(source_p, form_str(ERR_USERNOTONSERV),  
                  me.name, source_p->name, target_p->name);  
     return;  
   }  
   
77    if ((chptr = hash_find_channel(parv[2])) == NULL)    if ((chptr = hash_find_channel(parv[2])) == NULL)
78    {    {
79      sendto_one(source_p, form_str(ERR_NOSUCHCHANNEL),      sendto_one(source_p, form_str(ERR_NOSUCHCHANNEL),

Legend:
Removed from v.1473  
changed lines
  Added in v.1474

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