mirror of
https://github.com/irssi/irssi.git
synced 2026-08-11 04:43:34 +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
|
|
@ -591,7 +591,7 @@ static char *get_nicks(IRC_SERVER_REC *server, WI_ITEM_REC *item,
|
|||
void *free_arg;
|
||||
|
||||
if (!cmd_get_params(data, &free_arg, 2 | PARAM_FLAG_GETREST |
|
||||
PARAM_FLAG_OPTCHAN, item, &channame, &nicks))
|
||||
PARAM_FLAG_OPTCHAN_NAME, item, &channame, &nicks))
|
||||
return NULL;
|
||||
|
||||
if (*nicks == '\0')
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue