diff options
author | Sebastien Helleu <flashcode@flashtux.org> | 2008-05-06 17:39:44 +0200 |
---|---|---|
committer | Sebastien Helleu <flashcode@flashtux.org> | 2008-05-06 17:39:44 +0200 |
commit | 6d37f185c09c9ec8fe21862d9f214c5747a64654 (patch) | |
tree | 33b650060633779734bf3b0699081441732fa04e /src/plugins/irc/irc-channel.h | |
parent | 72721d7205e5724178c0e6ff29f32edfcccc8823 (diff) | |
download | weechat-6d37f185c09c9ec8fe21862d9f214c5747a64654.zip |
Fix crash after closing channels/pv (internal channel structure was not deleted) (bug #23178)
Diffstat (limited to 'src/plugins/irc/irc-channel.h')
-rw-r--r-- | src/plugins/irc/irc-channel.h | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/plugins/irc/irc-channel.h b/src/plugins/irc/irc-channel.h index ff3b64344..ca335639e 100644 --- a/src/plugins/irc/irc-channel.h +++ b/src/plugins/irc/irc-channel.h @@ -26,7 +26,6 @@ #define IRC_CHANNEL_TYPE_UNKNOWN -1 #define IRC_CHANNEL_TYPE_CHANNEL 0 #define IRC_CHANNEL_TYPE_PRIVATE 1 -#define IRC_CHANNEL_TYPE_DCC_CHAT 2 #define IRC_CHANNEL_NICKS_SPEAKING_LIMIT 32 @@ -35,7 +34,6 @@ struct t_irc_server; struct t_irc_channel { int type; /* channel type */ - struct t_irc_dcc *dcc_chat; /* DCC CHAT pointer (NULL if not DCC)*/ char *name; /* name of channel (exemple: "#abc") */ char *topic; /* topic of channel (host for pv) */ char *modes; /* channel modes */ @@ -45,7 +43,6 @@ struct t_irc_channel int checking_away; /* = 1 if checking away with WHO cmd */ char *away_message; /* to display away only once in pv */ int cycle; /* currently cycling (/part + /join) */ - int close; /* close request (/buffer close) */ int display_creation_date; /* 1 for displaying creation date */ int nick_completion_reset; /* 1 for resetting nick completion */ /* there was some join/part on chan */ @@ -70,15 +67,12 @@ extern struct t_irc_channel *irc_channel_search_any (struct t_irc_server *server char *channel_name); extern struct t_irc_channel *irc_channel_search_any_without_buffer (struct t_irc_server *server, char *channel_name); -extern struct t_irc_channel *irc_channel_search_dcc (struct t_irc_server *server, - char *channel_name); extern int irc_channel_is_channel (char *string); extern void irc_channel_remove_away (struct t_irc_channel *channel); extern void irc_channel_check_away (struct t_irc_server *server, struct t_irc_channel *channel, int force); extern void irc_channel_set_away (struct t_irc_channel *channel, char *nick, int is_away); -extern int irc_channel_create_dcc (struct t_irc_dcc *dcc); extern int irc_channel_get_notify_level (struct t_irc_server *server, struct t_irc_channel *channel); extern void irc_channel_set_notify_level (struct t_irc_server *server, |