소스 검색

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

sbingner 25 년 전
부모
커밋
8febea163c
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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}) {