diff options
author | Sébastien Helleu <flashcode@flashtux.org> | 2020-12-06 15:48:55 +0100 |
---|---|---|
committer | Sébastien Helleu <flashcode@flashtux.org> | 2020-12-06 15:48:55 +0100 |
commit | ee25c74903be12dff5334cc21ada1e807d70ef3a (patch) | |
tree | 15eae263e9a7e4464bc606aeeb8061aebac62f0e | |
parent | cd7947d8fcb6b5e01be9d80bdbf2961ab5f8a0e6 (diff) | |
download | weechat-ee25c74903be12dff5334cc21ada1e807d70ef3a.zip |
irc: fix completion of commands /halfop and /dehalfop
-rw-r--r-- | ChangeLog.adoc | 1 | ||||
-rw-r--r-- | src/plugins/irc/irc-command.c | 4 |
2 files changed, 3 insertions, 2 deletions
diff --git a/ChangeLog.adoc b/ChangeLog.adoc index 61e43d4c4..f83e75d52 100644 --- a/ChangeLog.adoc +++ b/ChangeLog.adoc @@ -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) 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"), |