summaryrefslogtreecommitdiff
path: root/src/core
diff options
context:
space:
mode:
authorTimo Sirainen <cras@irssi.org>2000-06-28 22:29:06 +0000
committercras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564>2000-06-28 22:29:06 +0000
commit77adc998efb13ba9deb9851f5b53294b389077d3 (patch)
tree97798a9aacce884e1eee935a6b9665265045a814 /src/core
parentf1877ec70550352b8c25e2cdbf6fc605340f00c9 (diff)
downloadirssi-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
Diffstat (limited to 'src/core')
-rw-r--r--src/core/commands.c6
1 files changed, 3 insertions, 3 deletions
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);
}