summaryrefslogtreecommitdiff
path: root/modules/m_gline.c
diff options
context:
space:
mode:
Diffstat (limited to 'modules/m_gline.c')
-rw-r--r--modules/m_gline.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/m_gline.c b/modules/m_gline.c
index 78d861b..2bec753 100644
--- a/modules/m_gline.c
+++ b/modules/m_gline.c
@@ -343,7 +343,7 @@ mo_gline(struct Client *client_p, struct Client *source_p,
if (!HasOFlag(source_p, OPER_FLAG_GLINE))
{
- sendto_one(source_p, ERR_NOPRIVS,
+ sendto_one(source_p, form_str(ERR_NOPRIVS),
me.name, source_p->name, "gline");
return;
}
@@ -510,7 +510,7 @@ mo_gungline(struct Client *client_p, struct Client *source_p,
if (!HasOFlag(source_p, OPER_FLAG_GLINE))
{
- sendto_one(source_p, ERR_NOPRIVS,
+ sendto_one(source_p, form_str(ERR_NOPRIVS),
me.name, source_p->name, "gline");
return;
}