1
0
mirror of https://github.com/anope/anope.git synced 2026-07-09 23:23:13 +02:00

Add ability for fantasy to be disabled for some commands and strip the channel name from them

git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2341 5417fbe8-f217-4b02-8779-1006273d7864
This commit is contained in:
adam-
2009-06-28 18:49:07 +00:00
parent 108cf5e60d
commit 712cbb540c
5 changed files with 35 additions and 8 deletions
+3 -1
View File
@@ -220,7 +220,9 @@ enum CommandFlags
CFLAG_ALLOW_UNREGISTERED = 1,
CFLAG_ALLOW_FORBIDDEN = 2,
CFLAG_ALLOW_SUSPENDED = 4,
CFLAG_ALLOW_UNREGISTEREDCHANNEL = 8
CFLAG_ALLOW_UNREGISTEREDCHANNEL = 8,
CFLAG_STRIP_CHANNEL = 16,
CFLAG_DISABLE_FANTASY = 32
};
/** Every services command is a class, inheriting from Command.