From 20543723cfcada5552b3344660641393bb9fb569 Mon Sep 17 00:00:00 2001 From: Don Armstrong Date: Fri, 4 Jan 2008 00:33:31 +0000 Subject: [PATCH] * Interpolate action properly in I want --- .irssi/scripts/auto_bleh.pl | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.irssi/scripts/auto_bleh.pl b/.irssi/scripts/auto_bleh.pl index 605cb68..e2abc92 100644 --- a/.irssi/scripts/auto_bleh.pl +++ b/.irssi/scripts/auto_bleh.pl @@ -209,7 +209,8 @@ sub get_op { sub i_want { my $action = shift; - return "I've wanted to $action->{type} $action->{nick} off $action->{channel} on $action->{network} since $action->{inserted}"; + return "I've wanted to ".join(',', keys %{$action->{type}||{'do something to'=>undef}}}). + " $action->{nick} off $action->{channel} on $action->{network} since $action->{inserted}"; } sub take_action { -- 2.39.2