summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTimo Sirainen <cras@irssi.org>2001-07-29 04:03:58 +0000
committercras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564>2001-07-29 04:03:58 +0000
commitaf86920d3fea8e5bc84954c5894698e4c6002366 (patch)
treef0c708acfcb5ae1bd8a6e45a88e61c205bd91451
parentdd9e73e462362ec09d2237c823483ebfc1b21e80 (diff)
downloadirssi-af86920d3fea8e5bc84954c5894698e4c6002366.zip
bugfix
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1676 dbcabf3a-b0e7-0310-adc4-f8d773084564
-rw-r--r--src/perl/perl-signals.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/perl/perl-signals.c b/src/perl/perl-signals.c
index d0948ad9..2951d67c 100644
--- a/src/perl/perl-signals.c
+++ b/src/perl/perl-signals.c
@@ -124,7 +124,7 @@ static void perl_call_signal(const char *func, int signal_id,
perlarg = irssi_bless((SERVER_REC *) arg);
} else {
/* blessed object */
- perlarg = plain_bless(rec->args[n], arg);
+ perlarg = plain_bless(arg, rec->args[n]);
}
XPUSHs(sv_2mortal(perlarg));
}