my $net = $arr[$i]->{'server'}->{'tag'} // '';
my ($t, $tt, $match) = get_specific_threshold($type, $name, $net);
my $c = ($type eq 'window') ? $arr[$i]->{'refnum'} : $arr[$i]->window()->{'refnum'};
- printf CLIENTCRAP "%4d: %-40.40s → %d (%-8s) match %s", $c, $name, $t, $tt, $match;
+ Irssi::print(sprintf("%4d: %-40.40s → %d (%-8s) match %s", $c, $name, $t, $tt, $match), MSGLEVEL_CRAP);
}
}
sub cmd_list {
Irssi::print("ctrlact: window mappings");
- print CLIENTCRAP get_mappings_table(@window_thresholds);
+ Irssi::print(get_mappings_table(@window_thresholds), MSGLEVEL_CRAP);
Irssi::print("ctrlact: channel mappings");
- print CLIENTCRAP get_mappings_table(@channel_thresholds);
+ Irssi::print(get_mappings_table(@channel_thresholds), MSGLEVEL_CRAP);
Irssi::print("ctrlact: query mappings");
- print CLIENTCRAP get_mappings_table(@query_thresholds);
+ Irssi::print(get_mappings_table(@query_thresholds), MSGLEVEL_CRAP);
}
sub parse_args {