mirror of
https://github.com/irssi/irssi.git
synced 2025-01-03 14:56:47 -05: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:
parent
f1877ec705
commit
77adc998ef
@ -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
|
||||
|
@ -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);
|
||||
}
|
||||
|
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user