summaryrefslogtreecommitdiff
path: root/modules/m_ping.c
diff options
context:
space:
mode:
Diffstat (limited to 'modules/m_ping.c')
-rw-r--r--modules/m_ping.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/modules/m_ping.c b/modules/m_ping.c
index 9976078..520b00a 100644
--- a/modules/m_ping.c
+++ b/modules/m_ping.c
@@ -50,7 +50,7 @@ m_ping(struct Client *client_p, struct Client *source_p,
if (parc < 2 || EmptyString(parv[1]))
{
- sendto_one(source_p, ERR_NOORIGIN,
+ sendto_one(source_p, form_str(ERR_NOORIGIN),
me.name, source_p->name);
return;
}
@@ -77,7 +77,7 @@ m_ping(struct Client *client_p, struct Client *source_p,
}
else
{
- sendto_one(source_p, ERR_NOSUCHSERVER,
+ sendto_one(source_p, form_str(ERR_NOSUCHSERVER),
me.name, source_p->name, destination);
return;
}
@@ -96,7 +96,7 @@ ms_ping(struct Client *client_p, struct Client *source_p,
if (parc < 2 || EmptyString(parv[1]))
{
- sendto_one(source_p, ERR_NOORIGIN,
+ sendto_one(source_p, form_str(ERR_NOORIGIN),
me.name, source_p->name);
return;
}
@@ -111,7 +111,7 @@ ms_ping(struct Client *client_p, struct Client *source_p,
origin, destination);
else
{
- sendto_one(source_p, ERR_NOSUCHSERVER,
+ sendto_one(source_p, form_str(ERR_NOSUCHSERVER),
ID_or_name(&me, client_p), source_p->name, destination);
return;
}