summaryrefslogtreecommitdiff
path: root/modules/m_operwall.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_operwall.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_operwall.c')
-rw-r--r--modules/m_operwall.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/m_operwall.c b/modules/m_operwall.c
index 4d81f1c..6a8b277 100644
--- a/modules/m_operwall.c
+++ b/modules/m_operwall.c
@@ -48,14 +48,14 @@ mo_operwall(struct Client *client_p, struct Client *source_p,
if (!HasOFlag(source_p, OPER_FLAG_OPERWALL))
{
- sendto_one(source_p, form_str(ERR_NOPRIVS),
+ sendto_one(source_p, ERR_NOPRIVS,
me.name, source_p->name, "operwall");
return;
}
if (EmptyString(message))
{
- sendto_one(source_p, form_str(ERR_NEEDMOREPARAMS),
+ sendto_one(source_p, ERR_NEEDMOREPARAMS,
me.name, source_p->name, "OPERWALL");
return;
}