From 6402dfd2feef07e08e37a60b9559249441e78b0f Mon Sep 17 00:00:00 2001 From: Bram Matthys Date: Fri, 1 Nov 2019 13:12:40 +0100 Subject: [PATCH] send_multinotice() -> sendnotice_multiline() --- include/h.h | 2 +- src/modules/authprompt.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/include/h.h b/include/h.h index 589694be2..ad7236917 100644 --- a/include/h.h +++ b/include/h.h @@ -956,7 +956,7 @@ extern char *filename_add_suffix(const char *fname, const char *suffix); extern int filename_has_suffix(const char *fname, const char *suffix); extern void addmultiline(MultiLine **l, char *line); extern void freemultiline(MultiLine *l); -extern void send_multinotice(Client *client, MultiLine *m); +extern void sendnotice_multiline(Client *client, MultiLine *m); extern void unreal_del_quotes(char *i); extern char *unreal_add_quotes(char *str); extern int unreal_add_quotes_r(char *i, char *o, size_t len); diff --git a/src/modules/authprompt.c b/src/modules/authprompt.c index 37566fcf0..4927465f2 100644 --- a/src/modules/authprompt.c +++ b/src/modules/authprompt.c @@ -362,7 +362,7 @@ void authprompt_tag_as_auth_required(Client *client) void authprompt_send_auth_required_message(Client *client) { /* Display set::authentication-prompt::message */ - send_multinotice(client, cfg.message); + sendnotice_multiline(client, cfg.message); } int authprompt_require_sasl(Client *client, char *reason) @@ -462,7 +462,7 @@ int authprompt_sasl_result(Client *client, int success) if (!success) { - send_multinotice(client, cfg.fail_message); + sendnotice_multiline(client, cfg.fail_message); return 1; }