]> git.donarmstrong.com Git - irc.git/blobdiff - .irssi/scripts/auto_bleh.pl
use normal timeout instead of btimeout
[irc.git] / .irssi / scripts / auto_bleh.pl
index 1bf9e6245a281ad62fa30c008d399d8c7bc36a48..1ea3a1c264a36eab272446ec3fc649da3a831101 100644 (file)
@@ -140,9 +140,10 @@ sub do_auto_bleh {
      # turn them into ban and kick, respectively.
      if ($server->{address} !~ $defaults{SMELLSLIKEFN}) {
          my %fn_mapping = (remove  => 'kick',
-                           quiet   => 'ban',
-                           unquiet => 'unban',
-                           timeout => 'btimeout',
+                           # OFTC now supports +q/-q.
+                           #quiet   => 'ban',
+                           #unquiet => 'unban',
+                           #timeout => 'btimeout',
                           );
          for my $key (keys %fn_mapping) {
               if ($$cmd{$key}) {
@@ -231,7 +232,7 @@ sub take_action {
          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} +*!*@".$action->{hostname}) if $action->{hostname} ne ''; #quiet hostname
          }
 
      }