diff options
author | Timo Sirainen <cras@irssi.org> | 2002-02-03 18:24:22 +0000 |
---|---|---|
committer | cras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564> | 2002-02-03 18:24:22 +0000 |
commit | aa544dec32d57c8f6a33e2c27d711cff2e8c0f88 (patch) | |
tree | b47250835b8fba084cfd32ced81e9c79de9bc757 /src/core/commands.h | |
parent | 78542cb0f7e8c67c6292f18aa4063a9c0b773387 (diff) | |
download | irssi-aa544dec32d57c8f6a33e2c27d711cff2e8c0f88.zip |
Added PARAM_FLAG_OPTCHAN_NAME which is like PARAM_FLAG_OPTCHAN, but doesn't
allow using "*" to specify active channel. Used with /OP, /DEOP, /VOICE and
/DEVOICE so you can do /OP * again :)
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2380 dbcabf3a-b0e7-0310-adc4-f8d773084564
Diffstat (limited to 'src/core/commands.h')
-rw-r--r-- | src/core/commands.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/core/commands.h b/src/core/commands.h index 86446cd8..3e55a2ad 100644 --- a/src/core/commands.h +++ b/src/core/commands.h @@ -135,6 +135,8 @@ int command_have_option(const char *cmd, const char *option); #define PARAM_FLAG_UNKNOWN_OPTIONS 0x00008000 /* optional channel in first argument */ #define PARAM_FLAG_OPTCHAN 0x00010000 +/* optional channel in first argument, but don't treat "*" as current channel */ +#define PARAM_FLAG_OPTCHAN_NAME 0x00030000 char *cmd_get_param(char **data); /* get parameters from command - you should point free_me somewhere and |