Browse Source

bitmask realised

git-svn-id: svn+ssh://code.netmonsters.ru/svn/majestic/trunk@49 4cb57b5f-5bbd-dd11-951b-001d605cbbc5
master
akulikov 16 years ago
parent
commit
da7b1aa076
  1. 2
      classes/User.class.php

2
classes/User.class.php

@ -25,7 +25,7 @@ class User
} }
self::setInfo(self::getByLogin(strtolower($login))); self::setInfo(self::getByLogin(strtolower($login)));
if (!self::getInfo()) {
if (!self::getInfo() || self::$user->isBanned()) {
return false; return false;
} }

Loading…
Cancel
Save