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