diff --git a/src/core/commands.c b/src/core/commands.c index 22f248f8..ad4b8bd0 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_first("send command", (SIGNAL_FUNC) event_command); + signal_add("send command", (SIGNAL_FUNC) event_command); command_bind("eval", NULL, (SIGNAL_FUNC) cmd_eval); command_bind("cd", NULL, (SIGNAL_FUNC) cmd_cd); diff --git a/src/fe-common/core/fe-core-commands.c b/src/fe-common/core/fe-core-commands.c index 7b59e58e..32c9f0cc 100644 --- a/src/fe-common/core/fe-core-commands.c +++ b/src/fe-common/core/fe-core-commands.c @@ -324,7 +324,7 @@ void fe_core_commands_init(void) command_bind_first("nick", NULL, (SIGNAL_FUNC) cmd_nick); command_bind_first("join", NULL, (SIGNAL_FUNC) cmd_join); - signal_add_first("send command", (SIGNAL_FUNC) event_command); + signal_add("send command", (SIGNAL_FUNC) event_command); signal_add_last("send command", (SIGNAL_FUNC) event_command_last); signal_add("default command", (SIGNAL_FUNC) event_default_command); signal_add("error command", (SIGNAL_FUNC) event_cmderror);