summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAdam- <Adam-@5417fbe8-f217-4b02-8779-1006273d7864>2009-11-11 02:47:05 +0000
committerAdam- <Adam-@5417fbe8-f217-4b02-8779-1006273d7864>2009-11-11 02:47:05 +0000
commit86e43f1f144cfd04b039a844959af1f7aec3e6da (patch)
treec5d5fb8b025d7066365afbf0d1e274e2bb5265cb /include
parent9d37cf1d5afeaa054f31e0df85275521410bde61 (diff)
Added support for permanent channels. This supports both permanent channel modes and the ability to have BotServ bots stay in the channel to keep it open.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2638 5417fbe8-f217-4b02-8779-1006273d7864
Diffstat (limited to 'include')
-rw-r--r--include/regchannel.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/regchannel.h b/include/regchannel.h
index 710437374..c094ac2af 100644
--- a/include/regchannel.h
+++ b/include/regchannel.h
@@ -49,6 +49,12 @@ enum ChannelInfoFlag
CI_XOP,
/* Channel is suspended */
CI_SUSPENDED,
+ /* Channel still exists when emptied, this can be caused by setting a perm
+ * channel mode (+P on InspIRCd) or /cs set #chan persist on.
+ * This keeps the service bot in the channel regardless if a +P type mode
+ * is set or not
+ */
+ CI_PERSIST,
CI_END
};