diff options
author | Timo Sirainen <cras@irssi.org> | 2000-06-28 22:29:06 +0000 |
---|---|---|
committer | cras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564> | 2000-06-28 22:29:06 +0000 |
commit | 77adc998efb13ba9deb9851f5b53294b389077d3 (patch) | |
tree | 97798a9aacce884e1eee935a6b9665265045a814 | |
parent | f1877ec70550352b8c25e2cdbf6fc605340f00c9 (diff) | |
download | irssi-77adc998efb13ba9deb9851f5b53294b389077d3.zip |
/REHASH -> /RELOAD so it won't collide with the server's rehash command.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@393 dbcabf3a-b0e7-0310-adc4-f8d773084564
-rw-r--r-- | docs/manual.txt | 4 | ||||
-rw-r--r-- | src/core/commands.c | 6 | ||||
-rw-r--r-- | src/fe-common/core/completion.c | 4 |
3 files changed, 7 insertions, 7 deletions
diff --git a/docs/manual.txt b/docs/manual.txt index d85f1941..839f1c64 100644 --- a/docs/manual.txt +++ b/docs/manual.txt @@ -301,8 +301,8 @@ The format is pretty much the same as in libPropList and should be easily understandable. - You can reload the config file on the fly with /REHASH command, you - can also read a different config file with /REHASH <filename>. + You can reload the config file on the fly with /RELOAD command, you + can also read a different config file with /RELOAD <filename>. If you change any settings, they aren't saved to file until you use /SAVE. You can save the config file to different place with diff --git a/src/core/commands.c b/src/core/commands.c index 311097e2..aec072c6 100644 --- a/src/core/commands.c +++ b/src/core/commands.c @@ -621,7 +621,7 @@ static void cmd_cd(const char *data) g_free(str); } -static void cmd_rehash(const char *data) +static void cmd_reload(const char *data) { char *fname; @@ -649,7 +649,7 @@ void commands_init(void) command_bind("eval", NULL, (SIGNAL_FUNC) cmd_eval); command_bind("cd", NULL, (SIGNAL_FUNC) cmd_cd); - command_bind("rehash", NULL, (SIGNAL_FUNC) cmd_rehash); + command_bind("reload", NULL, (SIGNAL_FUNC) cmd_reload); command_bind("save", NULL, (SIGNAL_FUNC) cmd_save); } @@ -662,6 +662,6 @@ void commands_deinit(void) command_unbind("eval", (SIGNAL_FUNC) cmd_eval); command_unbind("cd", (SIGNAL_FUNC) cmd_cd); - command_unbind("rehash", (SIGNAL_FUNC) cmd_rehash); + command_unbind("reload", (SIGNAL_FUNC) cmd_reload); command_unbind("save", (SIGNAL_FUNC) cmd_save); } diff --git a/src/fe-common/core/completion.c b/src/fe-common/core/completion.c index 33cc8a84..d77e4339 100644 --- a/src/fe-common/core/completion.c +++ b/src/fe-common/core/completion.c @@ -600,7 +600,7 @@ void completion_init(void) signal_add("complete command cat", (SIGNAL_FUNC) sig_complete_filename); signal_add("complete command run", (SIGNAL_FUNC) sig_complete_filename); signal_add("complete command save", (SIGNAL_FUNC) sig_complete_filename); - signal_add("complete command rehash", (SIGNAL_FUNC) sig_complete_filename); + signal_add("complete command reload", (SIGNAL_FUNC) sig_complete_filename); signal_add("complete command rawlog open", (SIGNAL_FUNC) sig_complete_filename); signal_add("complete command rawlog save", (SIGNAL_FUNC) sig_complete_filename); } @@ -615,7 +615,7 @@ void completion_deinit(void) signal_remove("complete command cat", (SIGNAL_FUNC) sig_complete_filename); signal_remove("complete command run", (SIGNAL_FUNC) sig_complete_filename); signal_remove("complete command save", (SIGNAL_FUNC) sig_complete_filename); - signal_remove("complete command rehash", (SIGNAL_FUNC) sig_complete_filename); + signal_remove("complete command reload", (SIGNAL_FUNC) sig_complete_filename); signal_remove("complete command rawlog open", (SIGNAL_FUNC) sig_complete_filename); signal_remove("complete command rawlog save", (SIGNAL_FUNC) sig_complete_filename); } |