mirror of
https://github.com/irssi/irssi.git
synced 2024-12-04 14:46:39 -05:00
1f23c05ee7
SERVER_REC->channels_join() for this channel. Usually just the channel name, but may contain also the channel key. If we receive PART-message to channel that hasn't received a JOIN yet, don't destroy the channel. It's probably because we did quickly /PART + /JOIN. Moved /CYCLE to fe-common/core, it doesn't close the window for the cycled channel anymore if you had autoclosing on. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1484 dbcabf3a-b0e7-0310-adc4-f8d773084564
31 lines
977 B
C
31 lines
977 B
C
/* CHANNEL_REC definition, used for inheritance */
|
|
|
|
#include "window-item-rec.h"
|
|
|
|
char *topic;
|
|
char *topic_by;
|
|
time_t topic_time;
|
|
|
|
GHashTable *nicks; /* list of nicks */
|
|
NICK_REC *ownnick; /* our own nick */
|
|
|
|
unsigned int no_modes:1; /* channel doesn't support modes */
|
|
char *mode;
|
|
int limit; /* user limit */
|
|
char *key; /* password key */
|
|
|
|
unsigned int chanop:1; /* You're a channel operator */
|
|
unsigned int names_got:1; /* Received /NAMES list */
|
|
unsigned int wholist:1; /* WHO list got */
|
|
unsigned int synced:1; /* Channel synced - all queries done */
|
|
|
|
unsigned int joined:1; /* Have we even received JOIN event for this channel? */
|
|
unsigned int left:1; /* You just left the channel */
|
|
unsigned int kicked:1; /* You just got kicked */
|
|
unsigned int destroying:1;
|
|
|
|
/* Return the information needed to call SERVER_REC->channels_join() for
|
|
this channel. Usually just the channel name, but may contain also the
|
|
channel key. */
|
|
char *(*get_join_data)(CHANNEL_REC *channel);
|