diff options
| author | Nakidai <nakidai@disroot.org> | 2026-02-13 00:52:30 +0300 |
|---|---|---|
| committer | Nakidai <nakidai@disroot.org> | 2026-02-13 00:52:30 +0300 |
| commit | d493c4a9b9bb1db0da7418a0a2797c5f2b3d34ff (patch) | |
| tree | a6b9ce9905864ae4696e3fa0431d8a02096d1877 /ircd.h | |
| parent | 3f2bbeda9cae1e3d3f50d984549c82a5a29d2f6f (diff) | |
| download | libreircd-d493c4a9b9bb1db0da7418a0a2797c5f2b3d34ff.tar.gz libreircd-d493c4a9b9bb1db0da7418a0a2797c5f2b3d34ff.zip | |
Add TOPIC and t channel flag support
Yay, now there're topic!!
Diffstat (limited to 'ircd.h')
| -rw-r--r-- | ircd.h | 4 |
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; }; |