X-Git-Url: https://ruin.nu/git/?a=blobdiff_plain;f=Delling.pm;h=62a9d363b3262483650e61750b554a81819220ef;hb=899a2860f3816042c168b995616fc7425732e878;hp=e6ce4e5e328b8a2042ae72c6b66b61e64246f7e5;hpb=fc37239d5f764e9f0f7c113a03fc52d264699725;p=NDIRC.git diff --git a/Delling.pm b/Delling.pm index e6ce4e5..62a9d36 100644 --- a/Delling.pm +++ b/Delling.pm @@ -112,7 +112,7 @@ SELECT uid,pid,hostmask,password FROM users u WHERE hostmask = ? }, undef, $address); if ($user){ - if ($user->{password} eq ''){ + unless ($user->{password}) { $irc->yield(privmsg => $disp->targets->{members}, "$nick: Get a new random password with /msg delling !getpass . If you don't know your username, then you can get it with .points"); } if ($tick > 12 && not defined $user->{pid}){