1
0
mirror of https://github.com/weechat/weechat.git synced 2026-07-07 10:13:12 +02:00

irc: change type of "account" parameter to "const char *" in irc_nick_new()

This commit is contained in:
Sébastien Helleu
2015-01-25 15:16:55 +01:00
parent 5886820679
commit 62256251be
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -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;
+1 -1
View File
@@ -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);