summaryrefslogtreecommitdiff
path: root/include/modules.h
diff options
context:
space:
mode:
authorcyberbotx <cyberbotx@5417fbe8-f217-4b02-8779-1006273d7864>2009-04-03 02:42:06 +0000
committercyberbotx <cyberbotx@5417fbe8-f217-4b02-8779-1006273d7864>2009-04-03 02:42:06 +0000
commit6d97b7f8f9599f1825e3b0e4b07d421bc3db2c06 (patch)
tree57735af404345dd9a4fbb1742be4d775e175f34d /include/modules.h
parentc6ef1e0390abe38404742d2355145d6f671ca2dc (diff)
Fix bug #1045, patch from Adam, suspended channels can no longer be administered, and control over checking forbidden and suspended channels has been moved out of the modules and into the core.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2243 5417fbe8-f217-4b02-8779-1006273d7864
Diffstat (limited to 'include/modules.h')
-rw-r--r--include/modules.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/modules.h b/include/modules.h
index 153d56853..8bf3077ad 100644
--- a/include/modules.h
+++ b/include/modules.h
@@ -217,7 +217,9 @@ struct ModuleLang_ {
enum CommandFlags
{
- CFLAG_ALLOW_UNREGISTERED = 1
+ CFLAG_ALLOW_UNREGISTERED = 1,
+ CFLAG_ALLOW_FORBIDDEN = 2,
+ CFLAG_ALLOW_SUSPENDED = 4
};
/** Every services command is a class, inheriting from Command.