summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSébastien Helleu <flashcode@flashtux.org>2018-08-15 16:02:43 +0200
committerSébastien Helleu <flashcode@flashtux.org>2018-08-15 16:02:43 +0200
commiteb64c8d65c5ce0e6d2964d93cded7feab08c7462 (patch)
treed31f366ba061c20bab2c87d1713ea81b7b8c66de
parent053d432eec3de832e65c8dbb598bc3ea361c0992 (diff)
downloadweechat-eb64c8d65c5ce0e6d2964d93cded7feab08c7462.zip
irc: add missing initialization of variable "chghost"
-rw-r--r--src/plugins/irc/irc-channel.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/plugins/irc/irc-channel.c b/src/plugins/irc/irc-channel.c
index eb01f87dd..5ebb4579d 100644
--- a/src/plugins/irc/irc-channel.c
+++ b/src/plugins/irc/irc-channel.c
@@ -1172,6 +1172,7 @@ irc_channel_join_smart_filtered_unmask (struct t_irc_channel *channel,
length_tags = 0;
nick_found = 0;
join = 0;
+ chghost = 0;
nick_changed = 0;
irc_nick1 = NULL;
irc_nick2 = NULL;