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

Comparing ircd-hybrid/trunk/src/send.c (file contents):
Revision 3078 by michael, Fri Feb 28 20:34:07 2014 UTC vs.
Revision 3103 by michael, Thu Mar 6 00:05:12 2014 UTC

# Line 394 | Line 394 | sendto_channel_butone(struct Client *one
394        continue;
395  
396      if (MyConnect(target_p))
397 <    {
398 <      if (target_p->localClient->serial != current_serial)
399 <      {
400 <        send_message(target_p, local_buf, local_len);
401 <        target_p->localClient->serial = current_serial;
402 <      }
403 <    }
404 <    else
405 <    {
406 <      /* Now check whether a message has been sent to this
407 <       * remote link already
408 <       */
409 <      if (target_p->from->localClient->serial != current_serial)
410 <      {
411 <        if (IsCapable(target_p->from, CAP_TS6))
412 <          send_message_remote(target_p->from, from, uid_buf, uid_len);
413 <        else
414 <          send_message_remote(target_p->from, from, remote_buf, remote_len);
415 <        target_p->from->localClient->serial = current_serial;
416 <      }
417 <    }
397 >      send_message(target_p, local_buf);
398 >    else if (target_p->from->localClient->serial != current_serial)
399 >      send_message_remote(target_p->from, from, remote_buf);
400 >    target_p->from->localClient->serial = current_serial;
401    }
402   }
403  

Diff Legend

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