summaryrefslogtreecommitdiff
path: root/src/plugins/irc
diff options
context:
space:
mode:
authorSébastien Helleu <flashcode@flashtux.org>2020-12-06 15:48:55 +0100
committerSébastien Helleu <flashcode@flashtux.org>2020-12-06 15:48:55 +0100
commitee25c74903be12dff5334cc21ada1e807d70ef3a (patch)
tree15eae263e9a7e4464bc606aeeb8061aebac62f0e /src/plugins/irc
parentcd7947d8fcb6b5e01be9d80bdbf2961ab5f8a0e6 (diff)
downloadweechat-ee25c74903be12dff5334cc21ada1e807d70ef3a.zip
irc: fix completion of commands /halfop and /dehalfop
Diffstat (limited to 'src/plugins/irc')
-rw-r--r--src/plugins/irc/irc-command.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/irc/irc-command.c b/src/plugins/irc/irc-command.c
index d48f2bdb0..44a799575 100644
--- a/src/plugins/irc/irc-command.c
+++ b/src/plugins/irc/irc-command.c
@@ -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"),