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

Comparing ircd-hybrid-7.2/modules/m_invite.c (file contents):
Revision 322 by michael, Sat Dec 24 22:04:58 2005 UTC vs.
Revision 885 by michael, Wed Oct 31 18:09:24 2007 UTC

# Line 83 | Line 83 | m_invite(struct Client *client_p, struct
83    if (IsServer(source_p))
84      return;
85  
86 <  if (*parv[2] == '\0')
86 >  if (EmptyString(parv[2]))
87    {
88      sendto_one(source_p, form_str(ERR_NEEDMOREPARAMS),
89                 me.name, source_p->name, "INVITE");
# Line 160 | Line 160 | m_invite(struct Client *client_p, struct
160      if (atoi(parv[3]) > chptr->channelts)
161        return;
162  
163 –  if (!MyConnect(target_p) && ServerInfo.hub &&
164 –      IsCapable(target_p->from, CAP_LL))
165 –  {
166 –    /* target_p is connected to a LL leaf, connected to us */
167 –    if (IsClient(source_p))
168 –      client_burst_if_needed(target_p->from, source_p);
169 –
170 –    if ((chptr->lazyLinkChannelExists &
171 –         target_p->from->localClient->serverMask) == 0)
172 –      burst_channel(target_p->from, chptr);
173 –  }
174 –
163    if (MyConnect(target_p))
164    {
165      sendto_one(target_p, ":%s!%s@%s INVITE %s :%s",

Diff Legend

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