mirror of
https://github.com/irssi/irssi.git
synced 2026-08-17 07:32:04 +02:00
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
This commit is contained in:
parent
78542cb0f7
commit
aa544dec32
3 changed files with 9 additions and 5 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue