Преглед изворни кода

Patch from Phil Gregory to speedup find_alias (basically it caches the
aliases everytime one is found)

Morten Brix Pedersen пре 25 година
родитељ
комит
7131f6657e
1 измењених фајлова са 1 додато и 0 уклоњено
  1. 1 0
      pisg.pl

+ 1 - 0
pisg.pl

@@ -1080,6 +1080,7 @@ sub find_alias
     } elsif ($conf->{aliaswilds}) {
         foreach (keys %{ $conf->{aliaswilds} }) {
             if ($nick =~ /^$_$/i) {
+	        $alias{$lcnick} = $conf->{aliaswilds}{$_};
                 return $conf->{aliaswilds}{$_};
             }
         }