X-Git-Url: https://git.donarmstrong.com/?p=irc.git;a=blobdiff_plain;f=.irssi%2Fscripts%2Fauto_bleh.pl;h=e2abc92813cc5eee1e75d2fbb4ee238b2d590b4a;hp=605cb685c98722bd68df598075a5e9189e3434c3;hb=20543723cfcada5552b3344660641393bb9fb569;hpb=6a39d108770b9810df707c6ec778156cd9458dc0;ds=sidebyside 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 {