diff options
author | Sebastien Helleu <flashcode@flashtux.org> | 2006-09-23 09:09:36 +0000 |
---|---|---|
committer | Sebastien Helleu <flashcode@flashtux.org> | 2006-09-23 09:09:36 +0000 |
commit | 63416bb80115424ae56b1e524c861480f8b2ce2a (patch) | |
tree | 61e6cac0259265a5cf450be2bb0929fc012dee6d /src | |
parent | a33efdd755bd00c604d1af2f7f0a34f419cb5457 (diff) | |
download | weechat-63416bb80115424ae56b1e524c861480f8b2ce2a.zip |
Fixed random crash with /upgrade command (error when loading buffers)
Diffstat (limited to 'src')
-rw-r--r-- | src/irc/irc-channel.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/irc/irc-channel.c b/src/irc/irc-channel.c index 902a06ed3..482352c56 100644 --- a/src/irc/irc-channel.c +++ b/src/irc/irc-channel.c @@ -72,7 +72,8 @@ channel_new (t_irc_server *server, int channel_type, char *channel_name) new_channel->display_creation_date = 0; new_channel->nicks = NULL; new_channel->last_nick = NULL; - + new_channel->buffer = NULL; + /* add new channel to queue */ new_channel->prev_channel = server->last_channel; new_channel->next_channel = NULL; |