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

Comparing ircd-hybrid/trunk/modules/m_map.c (file contents):
Revision 1832 by michael, Fri Apr 19 19:16:09 2013 UTC vs.
Revision 1834 by michael, Fri Apr 19 19:50:27 2013 UTC

# Line 76 | Line 76 | dump_map(struct Client *client_p, const
76    sprintf(pb, " Users: %5d (%1.1f%%)", users,
77            100 * (float)users / (float)Count.total);
78  
79 <  sendto_one(client_p, RPL_MAP, me.name, client_p->name, buf);
79 >  sendto_one(client_p, form_str(RPL_MAP), me.name, client_p->name, buf);
80  
81    if (root_p->serv->server_list.head)
82    {
# Line 133 | Line 133 | m_map(struct Client *client_p, struct Cl
133    if ((last_used + ConfigFileEntry.pace_wait) > CurrentTime)
134    {
135      /* safe enough to give this on a local connect only */
136 <    sendto_one(source_p, RPL_LOAD2HI,
136 >    sendto_one(source_p, form_str(RPL_LOAD2HI),
137                 me.name, source_p->name);
138      return;
139    }
# Line 141 | Line 141 | m_map(struct Client *client_p, struct Cl
141    last_used = CurrentTime;
142  
143    dump_map(source_p, &me, 0, buf);
144 <  sendto_one(source_p, RPL_MAPEND, me.name, source_p->name);
144 >  sendto_one(source_p, form_str(RPL_MAPEND), me.name, source_p->name);
145   }
146  
147   /* mo_map()
# Line 152 | Line 152 | mo_map(struct Client *client_p, struct C
152         int parc, char *parv[])
153   {
154    dump_map(source_p, &me, 0, buf);
155 <  sendto_one(source_p, RPL_MAPEND, me.name, source_p->name);
155 >  sendto_one(source_p, form_str(RPL_MAPEND), me.name, source_p->name);
156   }
157  
158   static struct Message map_msgtab = {

Diff Legend

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