diff --git a/CHANGELOG.md b/CHANGELOG.md index de3cb838d..3f80442fa 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -26,6 +26,7 @@ - exec: fix unexpected execution of command with `/exec -o` when the command starts with two command chars ([#2199](https://github.com/weechat/weechat/issues/2199)) - relay/api: fix empty nicklist in remote buffers after connection or reconnection - core: always send the signal "buffer_switch", even when the buffer is opening ([#2198](https://github.com/weechat/weechat/issues/2198)) +- core: reload all plugins with command `/plugin reload *` - lua: fix compilation on Fedora with Lua < 5.2.0 ([#2173](https://github.com/weechat/weechat/issues/2173), [#2174](https://github.com/weechat/weechat/issues/2174)) - core: fix build on Android ([#2180](https://github.com/weechat/weechat/issues/2180)) diff --git a/src/core/core-command.c b/src/core/core-command.c index d6ce5483f..20d3feddd 100644 --- a/src/core/core-command.c +++ b/src/core/core-command.c @@ -5189,7 +5189,7 @@ COMMAND_CALLBACK(plugin) if (string_strcmp (argv[1], "reload") == 0) { - if (argc < 3) + if ((argc < 3) || ((argc == 3) && (strcmp (argv[2], "*") == 0))) { plugin_unload_all (); plugin_auto_load (NULL, 1, 1, 1, 0, NULL);