summaryrefslogtreecommitdiff
path: root/src/core/commands.c
diff options
context:
space:
mode:
authorTimo Sirainen <cras@irssi.org>2001-11-19 23:09:29 +0000
committercras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564>2001-11-19 23:09:29 +0000
commitbaf8ac392c3300fab44f3a9b96350d93ea3b46dd (patch)
treee5c1188b2c27353861e9d8436874bd2c0cc6cbbd /src/core/commands.c
parenta9428129a55afe562bed60e80cfc78ccdc1c52fe (diff)
downloadirssi-baf8ac392c3300fab44f3a9b96350d93ea3b46dd.zip
grab the "send command" event with signal_add_first().
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2108 dbcabf3a-b0e7-0310-adc4-f8d773084564
Diffstat (limited to 'src/core/commands.c')
-rw-r--r--src/core/commands.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/commands.c b/src/core/commands.c
index ad4b8bd0..22f248f8 100644
--- a/src/core/commands.c
+++ b/src/core/commands.c
@@ -935,7 +935,7 @@ void commands_init(void)
signal_default_command = signal_get_uniq_id("default command");
settings_add_str("misc", "cmdchars", "/");
- signal_add("send command", (SIGNAL_FUNC) event_command);
+ signal_add_first("send command", (SIGNAL_FUNC) event_command);
command_bind("eval", NULL, (SIGNAL_FUNC) cmd_eval);
command_bind("cd", NULL, (SIGNAL_FUNC) cmd_cd);