summary refs log tree commit diff
path: root/ircd.h
diff options
context:
space:
mode:
Diffstat (limited to 'ircd.h')
-rw-r--r--ircd.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/ircd.h b/ircd.h
index 7b59330..3012783 100644
--- a/ircd.h
+++ b/ircd.h
@@ -72,6 +72,7 @@ struct Channel
 {
 	enum { GLOBAL, LOCAL, MODELESS, SAFE } type;
 	char name[CHANNEL_NAME_MAX];
+	char topic[MESSAGE_MAX];
 	struct ChannelPeer {
 		struct Peer *p;
 		enum ChannelPeerMode {
@@ -82,8 +83,9 @@ struct Channel
 	size_t peers_c;
 	enum ChannelMode
 	{
-		BIT(CHANNEL_SECRET),
 		BIT(CHANNEL_NOFROMOUT),
+		BIT(CHANNEL_SECRET),
+		BIT(CHANNEL_TOPIC),
 	} modes;
 };