summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/core/ns_register.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/core/ns_register.c b/src/core/ns_register.c
index a899ca760..dc59caecb 100644
--- a/src/core/ns_register.c
+++ b/src/core/ns_register.c
@@ -499,15 +499,15 @@ int do_sendregmail(User *u, NickRequest *nr)
mail = MailRegBegin(u, nr, buf, s_NickServ);
if (!mail)
return -1;
- fprintf(mail->pipe, getstring(NICK_REG_MAIL_HEAD));
+ fprintf(mail->pipe, "%s", getstring(NICK_REG_MAIL_HEAD));
fprintf(mail->pipe, "\n\n");
fprintf(mail->pipe, getstring(NICK_REG_MAIL_LINE_1), nr->nick);
fprintf(mail->pipe, "\n\n");
fprintf(mail->pipe, getstring(NICK_REG_MAIL_LINE_2), s_NickServ, nr->passcode);
fprintf(mail->pipe, "\n\n");
- fprintf(mail->pipe, getstring(NICK_REG_MAIL_LINE_3));
+ fprintf(mail->pipe, "%s", getstring(NICK_REG_MAIL_LINE_3));
fprintf(mail->pipe, "\n\n");
- fprintf(mail->pipe, getstring(NICK_REG_MAIL_LINE_4));
+ fprintf(mail->pipe, "%s", getstring(NICK_REG_MAIL_LINE_4));
fprintf(mail->pipe, "\n\n");
fprintf(mail->pipe, getstring(NICK_REG_MAIL_LINE_5), NetworkName);
fprintf(mail->pipe, "\n.\n");