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

Comparing ircd-hybrid/trunk/modules/m_links.c (file contents):
Revision 2820 by michael, Wed Jan 15 23:10:26 2014 UTC vs.
Revision 2888 by michael, Tue Jan 21 17:47:11 2014 UTC

# Line 53 | Line 53 | do_links(struct Client *source_p, int pa
53      const char *mask = (parc > 2 ? parv[2] : parv[1]);
54      const char *me_name, *nick;
55  
56 <    me_name = ID_or_name(&me, source_p->from);
57 <    nick = ID_or_name(source_p, source_p->from);
56 >    me_name = ID_or_name(&me, source_p);
57 >    nick = ID_or_name(source_p, source_p);
58  
59      DLINK_FOREACH(ptr, global_serv_list.head)
60      {
# Line 93 | Line 93 | do_links(struct Client *source_p, int pa
93       * then print out the file (which may or may not be empty)
94       */
95      sendto_one(source_p, form_str(RPL_LINKS),
96 <               ID_or_name(&me, source_p->from),
97 <               ID_or_name(source_p, source_p->from),
96 >               ID_or_name(&me, source_p),
97 >               ID_or_name(source_p, source_p),
98                 me.name, me.name, 0, me.info);
99  
100      DLINK_FOREACH(ptr, flatten_links.head)
101        sendto_one(source_p, ":%s %d %s %s",
102 <                 ID_or_name(&me, source_p->from), RPL_LINKS,
103 <                 ID_or_name(source_p, source_p->from),
102 >                 ID_or_name(&me, source_p), RPL_LINKS,
103 >                 ID_or_name(source_p, source_p),
104                   ptr->data);
105      sendto_one(source_p, form_str(RPL_ENDOFLINKS),
106 <               ID_or_name(&me, source_p->from),
107 <               ID_or_name(source_p, source_p->from), "*");
106 >               ID_or_name(&me, source_p),
107 >               ID_or_name(source_p, source_p), "*");
108    }
109   }
110  

Diff Legend

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