diff --git a/file/lib/system/command/commands/RestoreCommand.class.php b/file/lib/system/command/commands/RestoreCommand.class.php index 92dba9b..f4c8d9c 100644 --- a/file/lib/system/command/commands/RestoreCommand.class.php +++ b/file/lib/system/command/commands/RestoreCommand.class.php @@ -30,6 +30,11 @@ public function __construct(\chat\system\command\CommandHandler $commandHandler) )); $this->link = "[url='".$profile."']".$this->user->username.'[/url]'; + $editor = new \wcf\data\user\UserEditor($this->user); + $editor->update(array( + 'chatColor1' => 0, + 'chatColor2' => 0 + )); $this->didInit(); }