# turn them into ban and kick, respectively.
if ($server->{address} !~ $defaults{SMELLSLIKEFN}) {
my %fn_mapping = (remove => 'kick',
# turn them into ban and kick, respectively.
if ($server->{address} !~ $defaults{SMELLSLIKEFN}) {
my %fn_mapping = (remove => 'kick',
- 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}";
Irssi::print("Quieting $action->{nick} on $action->{channel} with hostname $action->{hostname}") if $DEBUG;
# Find hostname
if ($action->{hostname}) {
Irssi::print("Quieting $action->{nick} on $action->{channel} with hostname $action->{hostname}") if $DEBUG;
# Find hostname
if ($action->{hostname}) {
Irssi::print(i_want($actions->{$_})) if $DEBUG;
# Find the server to take action on
my $server = Irssi::server_find_chatnet($actions->{$_}->{network});
Irssi::print(i_want($actions->{$_})) if $DEBUG;
# Find the server to take action on
my $server = Irssi::server_find_chatnet($actions->{$_}->{network});
Irssi::print("Found server for chatnet: $actions->{$_}->{network}") if $DEBUG;
# Find the channel to take action on
my $s_channel = $server->channel_find($actions->{$_}->{channel});
Irssi::print("Found server for chatnet: $actions->{$_}->{network}") if $DEBUG;
# Find the channel to take action on
my $s_channel = $server->channel_find($actions->{$_}->{channel});
Irssi::print("Found channel for channel: $actions->{$_}->{channel}") if $DEBUG;
# Are we opped on that channel?
if ($s_channel->{chanop}) { # Yes? Take the action against the user.
Irssi::print("Found channel for channel: $actions->{$_}->{channel}") if $DEBUG;
# Are we opped on that channel?
if ($s_channel->{chanop}) { # Yes? Take the action against the user.