From 62256251bedca9e36b833197e8e5a5d46a03a517 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Helleu?= Date: Sun, 25 Jan 2015 15:16:55 +0100 Subject: irc: change type of "account" parameter to "const char *" in irc_nick_new() --- src/plugins/irc/irc-nick.c | 2 +- src/plugins/irc/irc-nick.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/plugins/irc/irc-nick.c b/src/plugins/irc/irc-nick.c index f4308f6ae..92940a6db 100644 --- a/src/plugins/irc/irc-nick.c +++ b/src/plugins/irc/irc-nick.c @@ -624,7 +624,7 @@ irc_nick_nicklist_set_color_all () struct t_irc_nick * irc_nick_new (struct t_irc_server *server, struct t_irc_channel *channel, const char *nickname, const char *host, const char *prefixes, - int away, char *account) + int away, const char *account) { struct t_irc_nick *new_nick, *ptr_nick; int length; diff --git a/src/plugins/irc/irc-nick.h b/src/plugins/irc/irc-nick.h index 575421aca..3079a437b 100644 --- a/src/plugins/irc/irc-nick.h +++ b/src/plugins/irc/irc-nick.h @@ -66,7 +66,7 @@ extern struct t_irc_nick *irc_nick_new (struct t_irc_server *server, const char *host, const char *prefixes, int away, - char *account); + const char *account); extern void irc_nick_change (struct t_irc_server *server, struct t_irc_channel *channel, struct t_irc_nick *nick, const char *new_nick); -- cgit v1.2.3