From 4fd169b1841c41cfae85b705a92289980af0cbb1 Mon Sep 17 00:00:00 2001 From: Adam- Date: Wed, 30 Dec 2009 02:07:17 +0000 Subject: Added in support for permanet channel modes on non-registered channels git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2720 5417fbe8-f217-4b02-8779-1006273d7864 --- include/services.h | 20 +++++++++++++------- 1 file changed, 13 insertions(+), 7 deletions(-) (limited to 'include') 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 Params; + /* Channel still exists when emptied */ + CH_PERSIST +}; - public: - /** Default constructor +class CoreExport Channel : public Extensible, public Flags +{ + private: + /** A map of channel modes with their parameters set on this channel + */ + std::map Params; + + public: + /** Default constructor * @param name The channel name * @param ts The time the channel was created */ -- cgit