diff --git a/include/s_user.h b/include/s_user.h index d1d6cfb0..734125d1 100644 --- a/include/s_user.h +++ b/include/s_user.h @@ -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); 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 unsigned int find_umode_slot(void); diff --git a/src/s_user.c b/src/s_user.c index 30450d87..f8d5e0ca 100644 --- a/src/s_user.c +++ b/src/s_user.c @@ -1373,7 +1373,7 @@ construct_umodebuf(void) 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, ...) { rb_dlink_node *ptr; struct Channel *chptr;