]> ruin.nu Git - NDIRC.git/blobdiff - Delling.pm
Planetarion is finally using https
[NDIRC.git] / Delling.pm
index e6ce4e5e328b8a2042ae72c6b66b61e64246f7e5..62a9d363b3262483650e61750b554a81819220ef 100644 (file)
@@ -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}){