summaryrefslogtreecommitdiff
path: root/src/fe-common/core
diff options
context:
space:
mode:
authorTimo Sirainen <cras@irssi.org>2001-11-20 12:51:28 +0000
committercras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564>2001-11-20 12:51:28 +0000
commitc355002886a4f08f3a9194a5c2ceb9a18857bc7b (patch)
tree1b0e8d6d9d59c0cb3efee2f5bae9b601e0553aca /src/fe-common/core
parent637a3c76c1a8c777f4918fe50cbc4d04817f08dc (diff)
downloadirssi-c355002886a4f08f3a9194a5c2ceb9a18857bc7b.zip
using signal_add() instead of signal_add_first() again. the ..first() wasn't
really needed and it broke autoaway.pl script .. which is because /DISCONNECT and /UPGRADE commands destroy the server record, but it's still left in the signal's parameter. Guess I'll need to add reference counting to server record as well.. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2128 dbcabf3a-b0e7-0310-adc4-f8d773084564
Diffstat (limited to 'src/fe-common/core')
-rw-r--r--src/fe-common/core/fe-core-commands.c2
1 files changed, 1 insertions, 1 deletions
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);