# turn them into ban and kick, respectively.
if ($server->{address} !~ $defaults{SMELLSLIKEFN}) {
my %fn_mapping = (remove => 'kick',
- quiet => 'ban',
- unquiet => 'unban',
+ # OFTC now supports +q/-q.
+ #quiet => 'ban',
+ #unquiet => 'unban',
timeout => 'btimeout',
);
for my $key (keys %fn_mapping) {
Irssi::print("Quieting $action->{nick} on $action->{channel} with hostname $action->{hostname}") if $DEBUG;
# Find hostname
if ($action->{hostname}) {
- $server->send_raw("MODE $action->{channel} +b %*!*@".$action->{hostname}) if $action->{hostname} ne ''; #quiet hostname
+ $server->send_raw("MODE $action->{channel} +q *!*@".$action->{hostname}) if $action->{hostname} ne ''; #quiet hostname
}
}