* remove zentao bot init flag since xuanbot now maintains init states.

This commit is contained in:
Wenrui LI
2022-12-05 13:23:03 +08:00
parent d04b3aafb0
commit a756361e95
@@ -25,14 +25,6 @@ class zentaoBot extends xuanBot
*/
public $commands = array();
/**
* Init status.
*
* @var boolean
* @access private
*/
private $inited = false;
/**
* Construct function, load lang of zentao and setup commands.
*
@@ -56,8 +48,6 @@ class zentaoBot extends xuanBot
*/
public function init()
{
if($this->inited) return;
$this->lang = $this->im->lang->im->bot->zentaoBot;
foreach(array('view', 'start', 'close', 'finish') as $command)