From 4475a04841a2844260f56f7bec8d77b92fa5104a Mon Sep 17 00:00:00 2001 From: Timo Sirainen Date: Sun, 2 Jul 2000 19:22:30 +0000 Subject: If you're pasting text to channel and some of it starts with /, Irssi will send the "/command" to channel if it doesn't exist (instead of just printing "unknown command"). git-svn-id: http://svn.irssi.org/repos/irssi/trunk@419 dbcabf3a-b0e7-0310-adc4-f8d773084564 --- src/irc/core/irc-commands.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/irc') diff --git a/src/irc/core/irc-commands.c b/src/irc/core/irc-commands.c index aa7f9a27..62eb546c 100644 --- a/src/irc/core/irc-commands.c +++ b/src/irc/core/irc-commands.c @@ -996,6 +996,7 @@ void irc_commands_init(void) command_bind("lusers", NULL, (SIGNAL_FUNC) command_self); command_bind("map", NULL, (SIGNAL_FUNC) command_self); command_bind("motd", NULL, (SIGNAL_FUNC) command_self); + command_bind("rehash", NULL, (SIGNAL_FUNC) command_self); command_bind("stats", NULL, (SIGNAL_FUNC) command_self); command_bind("time", NULL, (SIGNAL_FUNC) command_self); command_bind("trace", NULL, (SIGNAL_FUNC) command_self); @@ -1069,6 +1070,7 @@ void irc_commands_deinit(void) command_unbind("lusers", (SIGNAL_FUNC) command_self); command_unbind("map", (SIGNAL_FUNC) command_self); command_unbind("motd", (SIGNAL_FUNC) command_self); + command_unbind("rehash", (SIGNAL_FUNC) command_self); command_unbind("stats", (SIGNAL_FUNC) command_self); command_unbind("time", (SIGNAL_FUNC) command_self); command_unbind("trace", (SIGNAL_FUNC) command_self); -- cgit v1.2.3