summaryrefslogtreecommitdiff
path: root/include/commands.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/commands.h')
-rw-r--r--include/commands.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/include/commands.h b/include/commands.h
index e390fb3d3..6935db576 100644
--- a/include/commands.h
+++ b/include/commands.h
@@ -18,8 +18,14 @@
enum CommandFlag
{
+ /* Command allow unidentified users to use it */
CFLAG_ALLOW_UNREGISTERED,
- CFLAG_STRIP_CHANNEL
+
+ /* Command's first parameter is a channel name */
+ CFLAG_STRIP_CHANNEL,
+
+ /* Command requires a user to execute */
+ CFLAG_REQUIRE_USER
};
/* Used in BotInfo::commands */