summaryrefslogtreecommitdiff
path: root/modules/m_admin.c
diff options
context:
space:
mode:
authormichael <michael@82007160-df01-0410-b94d-b575c5fd34c7>2013-04-19 19:16:09 +0000
committermichael <michael@82007160-df01-0410-b94d-b575c5fd34c7>2013-04-19 19:16:09 +0000
commitf27e1d9b7ee2cbd16bbdadf35872ef39f0527aac (patch)
treedf119cb19885ea1eed8c994ed1568858c8064474 /modules/m_admin.c
parent6b18f4241216eee3ea96ac807509bbd246a534f5 (diff)
- Made all numeric defines use the actual string instead of the numeric value
which allows to use gcc's printf format attribute - Remove current message locale implementation git-svn-id: svn://svn.ircd-hybrid.org/svnroot/ircd-hybrid/trunk@1832 82007160-df01-0410-b94d-b575c5fd34c7
Diffstat (limited to 'modules/m_admin.c')
-rw-r--r--modules/m_admin.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/modules/m_admin.c b/modules/m_admin.c
index 9db6fa9..cf13149 100644
--- a/modules/m_admin.c
+++ b/modules/m_admin.c
@@ -52,17 +52,17 @@ do_admin(struct Client *source_p)
source_p->name, source_p->username,
source_p->host, source_p->servptr->name);
- sendto_one(source_p, form_str(RPL_ADMINME),
+ sendto_one(source_p, RPL_ADMINME,
me_name, nick, me.name);
if (AdminInfo.name != NULL)
- sendto_one(source_p, form_str(RPL_ADMINLOC1),
+ sendto_one(source_p, RPL_ADMINLOC1,
me_name, nick, AdminInfo.name);
if (AdminInfo.description != NULL)
- sendto_one(source_p, form_str(RPL_ADMINLOC2),
+ sendto_one(source_p, RPL_ADMINLOC2,
me_name, nick, AdminInfo.description);
if (AdminInfo.email != NULL)
- sendto_one(source_p, form_str(RPL_ADMINEMAIL),
+ sendto_one(source_p, RPL_ADMINEMAIL,
me_name, nick, AdminInfo.email);
}
@@ -88,7 +88,7 @@ m_admin(struct Client *client_p, struct Client *source_p,
if ((last_used + ConfigFileEntry.pace_wait_simple) > CurrentTime)
{
- sendto_one(source_p,form_str(RPL_LOAD2HI),
+ sendto_one(source_p, RPL_LOAD2HI,
me.name, source_p->name);
return;
}