]> git.donarmstrong.com Git - irc.git/blobdiff - .irssi/scripts/auto_bleh.pl
fix typo
[irc.git] / .irssi / scripts / auto_bleh.pl
index 605cb685c98722bd68df598075a5e9189e3434c3..0a8316ea830757c6d7a61b1a9e602c5001760dfc 100644 (file)
@@ -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 {