irc: fix completion of commands /halfop and /dehalfop

This commit is contained in:
Sébastien Helleu 2020-12-06 15:48:55 +01:00
parent cd7947d8fc
commit ee25c74903
2 changed files with 3 additions and 2 deletions

View File

@ -27,6 +27,7 @@ Bug fixes::
* core: display an error when the buffer is not found with command /command -buffer
* exec: fix search of command by identifier
* irc: fix completion of commands /halfop and /dehalfop
* spell: fix crash with IRC color codes in command line (issue #1589)
* spell: fix refresh of bar item "spell_suggest" when the input becomes empty (issue #1586)

View File

@ -6583,7 +6583,7 @@ irc_command_init ()
N_("nick: nick or mask (wildcard \"*\" is allowed)\n"
" *: remove channel half-operator status from everybody on channel "
"except yourself"),
"%(nicks)", &irc_command_dehalfop, NULL, NULL);
"%(nicks)|%*", &irc_command_dehalfop, NULL, NULL);
weechat_hook_command (
"deop",
N_("remove channel operator status from nick(s)"),
@ -6622,7 +6622,7 @@ irc_command_init ()
N_("<nick> [<nick>...] || * -yes"),
N_("nick: nick or mask (wildcard \"*\" is allowed)\n"
" *: give channel half-operator status to everybody on channel"),
"%(nicks)", &irc_command_halfop, NULL, NULL);
"%(nicks)|%*", &irc_command_halfop, NULL, NULL);
weechat_hook_command (
"ignore",
N_("ignore nicks/hosts from servers or channels"),