mirror of
https://github.com/pissnet/pissircd.git
synced 2025-07-29 14:32:25 +01:00
send_multinotice() -> sendnotice_multiline()
This commit is contained in:
parent
dfa83aa6e5
commit
6402dfd2fe
2 changed files with 3 additions and 3 deletions
|
@ -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);
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue