1 /* CHANNEL_REC definition, used for inheritance */
3 #include "window-item-rec.h"
10 GHashTable *nicks; /* list of nicks */
11 NICK_REC *ownnick; /* our own nick */
13 unsigned int no_modes:1; /* channel doesn't support modes */
15 int limit; /* user limit */
16 char *key; /* password key */
18 unsigned int chanop:1; /* You're a channel operator */
19 unsigned int names_got:1; /* Received /NAMES list */
20 unsigned int wholist:1; /* WHO list got */
21 unsigned int synced:1; /* Channel synced - all queries done */
23 unsigned int joined:1; /* Have we even received JOIN event for this channel? */
24 unsigned int left:1; /* You just left the channel */
25 unsigned int kicked:1; /* You just got kicked */
26 unsigned int session_rejoin:1; /* This channel was joined with /UPGRADE */
27 unsigned int destroying:1;
29 /* Return the information needed to call SERVER_REC->channels_join() for
30 this channel. Usually just the channel name, but may contain also the
32 char *(*get_join_data)(CHANNEL_REC *channel);