summaryrefslogtreecommitdiff
path: root/src/perl/perl-core.c
diff options
context:
space:
mode:
authorTimo Sirainen <cras@irssi.org>2001-12-06 17:17:40 +0000
committercras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564>2001-12-06 17:17:40 +0000
commit31dcd8258f8f52c065e4297f7abecc5dd0a7d0a2 (patch)
treefc3cdc763159ad896422775addb1a763d53536ee /src/perl/perl-core.c
parent9dd46372ff722a54d70ae383b79542f6d3c60200 (diff)
downloadirssi-31dcd8258f8f52c065e4297f7abecc5dd0a7d0a2.zip
Irssi::signal_add(), Irssi::timeout_add(), Irssi::input_add() and their
variants now also allow use of code references. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2199 dbcabf3a-b0e7-0310-adc4-f8d773084564
Diffstat (limited to 'src/perl/perl-core.c')
-rw-r--r--src/perl/perl-core.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/perl/perl-core.c b/src/perl/perl-core.c
index 4e22fae1..d3e0a24a 100644
--- a/src/perl/perl-core.c
+++ b/src/perl/perl-core.c
@@ -74,8 +74,8 @@ static void perl_script_destroy(PERL_SCRIPT_REC *script)
signal_emit("script destroyed", 1, script);
- perl_signal_remove_package(script->package);
- perl_source_remove_package(script->package);
+ perl_signal_remove_script(script);
+ perl_source_remove_script(script);
g_free(script->name);
g_free(script->package);