Make the format argument of change_nick_user_host() const.
This commit is contained in:
parent
d48a559768
commit
8262273238
2 changed files with 2 additions and 2 deletions
|
@ -47,7 +47,7 @@ extern int introduce_client(struct Client *client_p, struct Client *source_p,
|
||||||
struct User *user, const char *nick, int use_euid);
|
struct User *user, const char *nick, int use_euid);
|
||||||
|
|
||||||
extern void change_nick_user_host(struct Client *target_p, const char *nick, const char *user,
|
extern void change_nick_user_host(struct Client *target_p, const char *nick, const char *user,
|
||||||
const char *host, int newts, char *format, ...);
|
const char *host, int newts, const char *format, ...);
|
||||||
|
|
||||||
extern int user_modes[256];
|
extern int user_modes[256];
|
||||||
extern unsigned int find_umode_slot(void);
|
extern unsigned int find_umode_slot(void);
|
||||||
|
|
|
@ -1373,7 +1373,7 @@ construct_umodebuf(void)
|
||||||
|
|
||||||
void
|
void
|
||||||
change_nick_user_host(struct Client *target_p, const char *nick, const char *user,
|
change_nick_user_host(struct Client *target_p, const char *nick, const char *user,
|
||||||
const char *host, int newts, char *format, ...)
|
const char *host, int newts, const char *format, ...)
|
||||||
{
|
{
|
||||||
rb_dlink_node *ptr;
|
rb_dlink_node *ptr;
|
||||||
struct Channel *chptr;
|
struct Channel *chptr;
|
||||||
|
|
Loading…
Reference in a new issue