diff options
author | Timo Sirainen <cras@irssi.org> | 2001-11-20 12:51:28 +0000 |
---|---|---|
committer | cras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564> | 2001-11-20 12:51:28 +0000 |
commit | c355002886a4f08f3a9194a5c2ceb9a18857bc7b (patch) | |
tree | 1b0e8d6d9d59c0cb3efee2f5bae9b601e0553aca /src/core | |
parent | 637a3c76c1a8c777f4918fe50cbc4d04817f08dc (diff) | |
download | irssi-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/core')
-rw-r--r-- | src/core/commands.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); |