diff options
Diffstat (limited to 'include')
| -rw-r--r-- | include/services.h | 20 |
1 files changed, 13 insertions, 7 deletions
diff --git a/include/services.h b/include/services.h index a3dabaaf5..2354261cb 100644 --- a/include/services.h +++ b/include/services.h @@ -783,15 +783,21 @@ struct c_userlist { UserData *ud; }; -class CoreExport Channel : public Extensible +enum ChannelFlags { - private: - /** A map of channel modes with their parameters set on this channel - */ - std::map<ChannelModeName, std::string> Params; + /* Channel still exists when emptied */ + CH_PERSIST +}; - public: - /** Default constructor +class CoreExport Channel : public Extensible, public Flags<ChannelFlags> +{ + private: + /** A map of channel modes with their parameters set on this channel + */ + std::map<ChannelModeName, std::string> Params; + + public: + /** Default constructor * @param name The channel name * @param ts The time the channel was created */ |
