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

Comparing ircd-hybrid/trunk/src/s_serv.c (file contents):
Revision 3171 by michael, Sun Mar 16 11:51:48 2014 UTC vs.
Revision 3184 by michael, Thu Mar 20 17:39:13 2014 UTC

# Line 595 | Line 595 | sendnick_TS(struct Client *client_p, str
595                 "0" : target_p->sockhost, target_p->id, target_p->info);
596  
597    if (!EmptyString(target_p->certfp))
598 <    sendto_one(client_p, ":%s CERTFP %s",
599 <               ID_or_name(target_p, client_p), target_p->certfp);
598 >    sendto_one(client_p, ":%s CERTFP %s", target_p->id, target_p->certfp);
599  
600    if (target_p->away[0])
601 <    sendto_one(client_p, ":%s AWAY :%s", ID_or_name(target_p, client_p),
603 <               target_p->away);
601 >    sendto_one(client_p, ":%s AWAY :%s", target_p->id, target_p->away);
602  
603   }
604  
# Line 843 | Line 841 | server_estab(struct Client *client_p)
841                 target_p->info);
842  
843      if (HasFlag(target_p, FLAGS_EOB))
844 <      sendto_one(client_p, ":%s EOB", ID_or_name(target_p, client_p));
844 >      sendto_one(client_p, ":%s EOB", target_p->id, client_p);
845    }
846  
847    server_burst(client_p);
# Line 874 | Line 872 | server_burst(struct Client *client_p)
872  
873    /* EOB stuff is now in burst_all */
874    /* Always send a PING after connect burst is done */
875 <  sendto_one(client_p, "PING :%s", ID_or_name(&me, client_p));
875 >  sendto_one(client_p, "PING :%s", me.id);
876   }
877  
878   /* burst_all()
# Line 915 | Line 913 | burst_all(struct Client *client_p)
913    }
914  
915    if (IsCapable(client_p, CAP_EOB))
916 <    sendto_one(client_p, ":%s EOB", ID_or_name(&me, client_p));
916 >    sendto_one(client_p, ":%s EOB", me.id);
917   }
918  
919   /*
# Line 944 | Line 942 | send_tb(struct Client *client_p, struct
942     * for further information   -Michael
943     */
944    if (chptr->topic_time != 0)
945 <    sendto_one(client_p, ":%s TBURST %lu %s %lu %s :%s",
948 <               ID_or_name(&me, client_p),
945 >    sendto_one(client_p, ":%s TBURST %lu %s %lu %s :%s", me.id,
946                 (unsigned long)chptr->channelts, chptr->chname,
947                 (unsigned long)chptr->topic_time,
948                 chptr->topic_info,

Diff Legend

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