diff options
author | Sébastien Helleu <flashcode@flashtux.org> | 2015-01-25 15:16:55 +0100 |
---|---|---|
committer | Sébastien Helleu <flashcode@flashtux.org> | 2015-01-25 15:16:55 +0100 |
commit | 62256251bedca9e36b833197e8e5a5d46a03a517 (patch) | |
tree | eeab838fe9d62792a083602d50faccd4adf7a024 | |
parent | 5886820679ac7740ad4b403039a150930e1608ac (diff) | |
download | weechat-62256251bedca9e36b833197e8e5a5d46a03a517.zip |
irc: change type of "account" parameter to "const char *" in irc_nick_new()
-rw-r--r-- | src/plugins/irc/irc-nick.c | 2 | ||||
-rw-r--r-- | 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); |