- fixed a bug where character.banned column not get reset if character switches corporation, closed #708

This commit is contained in:
Mark Friedrich
2018-11-29 15:00:46 +01:00
parent 783123052b
commit 07e03fce3a

View File

@@ -300,8 +300,9 @@ class CharacterModel extends BasicModel {
/**
* setter for "banned" status
* @param bool|int $status
* @return mixed
* @param $status
* @return mixed|string|null
* @throws \Exception
*/
public function set_banned($status){
if($this->allowBanChange){
@@ -405,6 +406,7 @@ class CharacterModel extends BasicModel {
*/
private function resetAdminColumns(){
$this->kick();
$this->ban();
}
/**