Răsfoiți Sursa

um yea, forgot to remove check that is now un-necessary because
it wouldn't have gotten there otherwise ;)

sbingner 25 ani în urmă
părinte
comite
8febea163c
1 a modificat fișierele cu 1 adăugiri și 1 ștergeri
  1. 1 1
      modules/Pisg/Common.pm

+ 1 - 1
modules/Pisg/Common.pm

@@ -20,7 +20,7 @@ sub add_alias {
         if (not defined $aliases{$lcalias}) {
             $aliases{$lcnick}  = $nick;
             $aliases{$lcalias} = $nick;
-        } elsif (defined $aliases{$lcalias}) {
+        } else {
             $aliases{$lcnick} = $aliases{$lcalias};
         }
     } elsif (not defined $aliases{$lcalias}) {