bitmask realised
git-svn-id: svn+ssh://code.netmonsters.ru/svn/majestic/trunk@49 4cb57b5f-5bbd-dd11-951b-001d605cbbc5
This commit is contained in:
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user