1
0
mirror of https://github.com/irssi/irssi.git synced 2024-07-21 03:14:16 -04:00

/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
This commit is contained in:
Timo Sirainen 2000-06-28 22:29:06 +00:00 committed by cras
parent f1877ec705
commit 77adc998ef
3 changed files with 7 additions and 7 deletions

View File

@ -301,8 +301,8 @@
The format is pretty much the same as in libPropList and should be The format is pretty much the same as in libPropList and should be
easily understandable. easily understandable.
You can reload the config file on the fly with /REHASH command, you You can reload the config file on the fly with /RELOAD command, you
can also read a different config file with /REHASH <filename>. can also read a different config file with /RELOAD <filename>.
If you change any settings, they aren't saved to file until you use 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 /SAVE. You can save the config file to different place with

View File

@ -621,7 +621,7 @@ static void cmd_cd(const char *data)
g_free(str); g_free(str);
} }
static void cmd_rehash(const char *data) static void cmd_reload(const char *data)
{ {
char *fname; char *fname;
@ -649,7 +649,7 @@ void commands_init(void)
command_bind("eval", NULL, (SIGNAL_FUNC) cmd_eval); command_bind("eval", NULL, (SIGNAL_FUNC) cmd_eval);
command_bind("cd", NULL, (SIGNAL_FUNC) cmd_cd); 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); 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("eval", (SIGNAL_FUNC) cmd_eval);
command_unbind("cd", (SIGNAL_FUNC) cmd_cd); 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); command_unbind("save", (SIGNAL_FUNC) cmd_save);
} }

View File

@ -600,7 +600,7 @@ void completion_init(void)
signal_add("complete command cat", (SIGNAL_FUNC) sig_complete_filename); signal_add("complete command cat", (SIGNAL_FUNC) sig_complete_filename);
signal_add("complete command run", (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 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 open", (SIGNAL_FUNC) sig_complete_filename);
signal_add("complete command rawlog save", (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 cat", (SIGNAL_FUNC) sig_complete_filename);
signal_remove("complete command run", (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 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 open", (SIGNAL_FUNC) sig_complete_filename);
signal_remove("complete command rawlog save", (SIGNAL_FUNC) sig_complete_filename); signal_remove("complete command rawlog save", (SIGNAL_FUNC) sig_complete_filename);
} }