From 20961eeadabfe0fab935b11f3583299b0905f6c5 Mon Sep 17 00:00:00 2001 From: Jilles Tjoelker Date: Tue, 8 Apr 2008 18:54:58 +0200 Subject: [PATCH] Make the format argument of change_nick_user_host() const. --- include/s_user.h | 2 +- src/s_user.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/include/s_user.h b/include/s_user.h index d1d6cfb..734125d 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 30450d8..f8d5e0c 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;