diff options
author | michael <michael@82007160-df01-0410-b94d-b575c5fd34c7> | 2013-04-19 19:50:27 +0000 |
---|---|---|
committer | michael <michael@82007160-df01-0410-b94d-b575c5fd34c7> | 2013-04-19 19:50:27 +0000 |
commit | 9d26c71414ef009975676e2037202ad99f9ca40c (patch) | |
tree | 87cf77340dec3ec70f30c6480c296dff534c5143 /modules/m_links.c | |
parent | d014cc6c4d39b7ff37a5bfb4640c1af3a87df699 (diff) |
- Revert to -r1831
git-svn-id: svn://svn.ircd-hybrid.org/svnroot/ircd-hybrid/trunk@1834 82007160-df01-0410-b94d-b575c5fd34c7
Diffstat (limited to 'modules/m_links.c')
-rw-r--r-- | modules/m_links.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/modules/m_links.c b/modules/m_links.c index fc9dbd7..631d1d1 100644 --- a/modules/m_links.c +++ b/modules/m_links.c @@ -69,13 +69,13 @@ do_links(struct Client *source_p, int parc, char *parv[]) * We just send the reply, as if they are here there's either no SHIDE, * or they're an oper.. */ - sendto_one(source_p, RPL_LINKS, + sendto_one(source_p, form_str(RPL_LINKS), me_name, nick, target_p->name, target_p->servptr->name, target_p->hopcount, target_p->info); } - sendto_one(source_p, RPL_ENDOFLINKS, + sendto_one(source_p, form_str(RPL_ENDOFLINKS), me_name, nick, EmptyString(mask) ? "*" : mask); } @@ -85,12 +85,12 @@ do_links(struct Client *source_p, int parc, char *parv[]) * Print our own info so at least it looks like a normal links * then print out the file (which may or may not be empty) */ - sendto_one(source_p, RPL_LINKS, + sendto_one(source_p, form_str(RPL_LINKS), ID_or_name(&me, source_p->from), ID_or_name(source_p, source_p->from), me.name, me.name, 0, me.info); send_message_file(source_p, &ConfigFileEntry.linksfile); - sendto_one(source_p, RPL_ENDOFLINKS, + sendto_one(source_p, form_str(RPL_ENDOFLINKS), ID_or_name(&me, source_p->from), ID_or_name(source_p, source_p->from), "*"); } @@ -126,7 +126,7 @@ m_links(struct Client *client_p, struct Client *source_p, if ((last_used + ConfigFileEntry.pace_wait) > CurrentTime) { - sendto_one(source_p, RPL_LOAD2HI, + sendto_one(source_p, form_str(RPL_LOAD2HI), me.name, source_p->name); return; } |