summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSébastien Helleu <flashcode@flashtux.org>2015-01-28 07:45:01 +0100
committerSébastien Helleu <flashcode@flashtux.org>2015-01-28 07:45:01 +0100
commit0d9398d038226266170bf58121b26941d5cf899e (patch)
treef56912fd3e87418721b2ccfd2619725d5df4efd9
parentef4476be657fcae15c715406c36086e628cf0a33 (diff)
downloadweechat-0d9398d038226266170bf58121b26941d5cf899e.zip
irc: fix completion of commands /allchan and /allpv
-rw-r--r--ChangeLog.asciidoc4
-rw-r--r--src/plugins/irc/irc-command.c4
2 files changed, 6 insertions, 2 deletions
diff --git a/ChangeLog.asciidoc b/ChangeLog.asciidoc
index e3f1435c1..80c7cd33e 100644
--- a/ChangeLog.asciidoc
+++ b/ChangeLog.asciidoc
@@ -25,6 +25,10 @@ https://weechat.org/files/releasenotes/ReleaseNotes-devel.html[release notes]
* core: add priority in plugins to initialize them in order
* doc: add Russian man page
+=== Bugs fixed
+
+* irc: fix completion of commands /allchan and /allpv
+
== Version 1.1.1 (2015-01-25)
=== Bugs fixed
diff --git a/src/plugins/irc/irc-command.c b/src/plugins/irc/irc-command.c
index cd8b66d42..94a84c300 100644
--- a/src/plugins/irc/irc-command.c
+++ b/src/plugins/irc/irc-command.c
@@ -5938,7 +5938,7 @@ irc_command_init ()
" say 'hello' everywhere but not on #weechat and channels beginning "
"with #linux:\n"
" /allchan -exclude=#weechat,#linux* msg * hello"),
- NULL, &irc_command_allchan, NULL);
+ "-current", &irc_command_allchan, NULL);
weechat_hook_command (
"allpv",
N_("execute a command on all private buffers of all connected servers"),
@@ -5961,7 +5961,7 @@ irc_command_init ()
" /allpv -exclude=foo,bar* msg * hello\n"
" close all private buffers:\n"
" /allpv close"),
- NULL, &irc_command_allpv, NULL);
+ "-current", &irc_command_allpv, NULL);
weechat_hook_command (
"allserv",
N_("execute a command on all connected servers"),