mirror of
https://github.com/weechat/weechat.git
synced 2026-07-01 23:36:37 +02:00
core: reload all plugins with command /plugin reload *
This commit is contained in:
@@ -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))
|
||||
|
||||
|
||||
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user