Przeglądaj źródła

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

sbingner 25 lat temu
rodzic
commit
8febea163c
1 zmienionych plików z 1 dodań i 1 usunięć
  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}) {