summaryrefslogtreecommitdiff
path: root/include/channels.h
diff options
context:
space:
mode:
authorAdam <Adam@anope.org>2011-05-06 18:02:53 -0400
committerAdam <Adam@anope.org>2011-05-16 04:10:18 -0400
commitfd4b52ec385167794eaadb18ee635bef757728ee (patch)
tree49d3e835b072a10887309d8d9155982a5aa61ed0 /include/channels.h
parentb59602abf85d522bb2f188be70b6cb7c9556a856 (diff)
Added os_forbid
Diffstat (limited to 'include/channels.h')
-rw-r--r--include/channels.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/channels.h b/include/channels.h
index 5d18a381f..113b5c1f9 100644
--- a/include/channels.h
+++ b/include/channels.h
@@ -25,6 +25,8 @@ typedef std::list<UserContainer *> CUserList;
enum ChannelFlag
{
+ /* ChanServ is currently holding the channel */
+ CH_INHABIT,
/* Channel still exists when emptied */
CH_PERSIST,
/* If set the channel is syncing users (channel was just created) and it should not be deleted */
@@ -33,6 +35,8 @@ enum ChannelFlag
CH_LOGCHAN
};
+const Anope::string ChannelFlagString[] = { "CH_INABIT", "CH_PERSIST", "CH_SYNCING", "CH_LOGCHAN", "" };
+
class CoreExport Channel : public Extensible, public Flags<ChannelFlag, 3>
{
public: