diff options
author | Sébastien Helleu <flashcode@flashtux.org> | 2022-06-15 22:11:08 +0200 |
---|---|---|
committer | Sébastien Helleu <flashcode@flashtux.org> | 2022-06-15 22:11:08 +0200 |
commit | 17ae43aa03b90210e6d1683c87851369bdd818f0 (patch) | |
tree | 17a68ff8d730cc440b88e05c992df74d9c2d34dc /src/plugins/irc | |
parent | 487406cfd9a4908610c20047377bab380fed554b (diff) | |
download | weechat-17ae43aa03b90210e6d1683c87851369bdd818f0.zip |
irc: rename option `save` to `apply` in command `/autojoin`
Diffstat (limited to 'src/plugins/irc')
-rw-r--r-- | src/plugins/irc/irc-command.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/plugins/irc/irc-command.c b/src/plugins/irc/irc-command.c index 36b4adeec..99f12d940 100644 --- a/src/plugins/irc/irc-command.c +++ b/src/plugins/irc/irc-command.c @@ -993,8 +993,8 @@ IRC_COMMAND_CALLBACK(autojoin) goto end; } - /* save currently joined channels */ - if (weechat_strcasecmp (argv[1], "save") == 0) + /* apply currently joined channels in server "autojoin" option */ + if (weechat_strcasecmp (argv[1], "apply") == 0) { irc_join_save_channels_to_autojoin (ptr_server); goto end; @@ -6797,7 +6797,7 @@ irc_command_init () N_("add [<channel1> [<channel2>...]]" " || addraw <channel1>[,<channel2>...] [<key1>[,<key2>...]]" " || del [<channel1> [<channel2>...]]" - " || save" + " || apply" " || sort"), N_(" add: add current channel or a list of channels (with optional " "keys) to the autojoin option; if you are on the channel and the " @@ -6808,7 +6808,7 @@ irc_command_init () "autojoin option\n" "channel: channel name\n" " key: key for the channel\n" - " save: save currently joined channels in the autojoin option\n" + " apply: set currently joined channels in the autojoin option\n" " sort: sort alphabetically channels in the autojoin option\n" "\n" "Examples:\n" @@ -6818,12 +6818,12 @@ irc_command_init () " /autojoin addraw #chan1,#chan2,#chan3 key1,key2\n" " /autojoin del\n" " /autojoin del #chan1\n" - " /autojoin save\n" + " /autojoin apply\n" " /autojoin sort"), "add %(irc_channels)|%*" " || addraw %(irc_channels) %-" " || del %(irc_channels_autojoin)|%*" - " || save" + " || apply" " || sort", &irc_command_autojoin, NULL, NULL); weechat_hook_command_run ("/away", &irc_command_run_away, NULL, NULL); |