summaryrefslogtreecommitdiff
path: root/modules/m_time.c
diff options
context:
space:
mode:
Diffstat (limited to 'modules/m_time.c')
-rw-r--r--modules/m_time.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/m_time.c b/modules/m_time.c
index e240c9d..14705c6 100644
--- a/modules/m_time.c
+++ b/modules/m_time.c
@@ -53,7 +53,7 @@ m_time(struct Client *client_p, struct Client *source_p,
if (hunt_server(client_p, source_p, ":%s TIME :%s", 1, parc, parv) != HUNTED_ISME)
return;
- sendto_one(source_p, RPL_TIME, me.name,
+ sendto_one(source_p, form_str(RPL_TIME), me.name,
source_p->name, me.name, date(0));
}
@@ -67,7 +67,7 @@ mo_time(struct Client *client_p, struct Client *source_p,
int parc, char *parv[])
{
if (hunt_server(client_p, source_p, ":%s TIME :%s", 1, parc, parv) == HUNTED_ISME)
- sendto_one(source_p, RPL_TIME, me.name,
+ sendto_one(source_p, form_str(RPL_TIME), me.name,
source_p->name, me.name, date(0));
}