summaryrefslogtreecommitdiff
path: root/src/irc/core/channels.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/irc/core/channels.h')
-rw-r--r--src/irc/core/channels.h16
1 files changed, 3 insertions, 13 deletions
diff --git a/src/irc/core/channels.h b/src/irc/core/channels.h
index 9873c303..bda4db1d 100644
--- a/src/irc/core/channels.h
+++ b/src/irc/core/channels.h
@@ -21,20 +21,12 @@ typedef struct {
GSList *invitelist; /* invite list */
char *topic;
- int limit; /* user limit */
- char *key; /* password key */
/* channel mode */
int no_modes:1; /* channel doesn't support modes */
- int mode_invite:1;
- int mode_secret:1;
- int mode_private:1;
- int mode_moderate:1;
- int mode_nomsgs:1;
- int mode_optopic:1;
- int mode_key:1;
- int mode_anonymous:1;
- int mode_reop:1;
+ char *mode;
+ int limit; /* user limit */
+ char *key; /* password key */
int chanop:1; /* You're a channel operator */
@@ -64,8 +56,6 @@ void channel_destroy(CHANNEL_REC *channel);
/* find channel by name, if `server' is NULL, search from all servers */
CHANNEL_REC *channel_find(IRC_SERVER_REC *server, const char *channel);
-char *channel_get_mode(CHANNEL_REC *channel);
-
/* Join to channels. `data' contains channels and channel keys */
void channels_join(IRC_SERVER_REC *server, const char *data, int automatic);