Explorar o código

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

Morten Brix Pedersen %!s(int64=25) %!d(string=hai) anos
pai
achega
7131f6657e
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  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}{$_};
             }
         }