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 2565 by michael, Sun Nov 17 18:40:26 2013 UTC vs.
Revision 2634 by michael, Tue Dec 10 17:42:20 2013 UTC

# Line 851 | Line 851 | sendto_anywhere(struct Client *to, struc
851    if (MyClient(to))
852    {
853      if (IsServer(from))
854 <    {
855 <      if (IsCapable(to, CAP_TS6) && HasID(from))
856 <        len = snprintf(buffer, sizeof(buffer), ":%s ", from->id);
857 <      else
858 <        len = snprintf(buffer, sizeof(buffer), ":%s ", from->name);
859 <    }
854 >      len = snprintf(buffer, sizeof(buffer), ":%s ", from->name);
855      else
856        len = snprintf(buffer, sizeof(buffer), ":%s!%s@%s ",
857                       from->name, from->username, from->host);
858    }
859 <  else len = snprintf(buffer, sizeof(buffer), ":%s ", ID_or_name(from, send_to));
859 >  else
860 >    len = snprintf(buffer, sizeof(buffer), ":%s ", ID_or_name(from, send_to));
861  
862    va_start(args, pattern);
863    len += send_format(&buffer[len], IRCD_BUFSIZE - len, pattern, args);

Diff Legend

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