Commit 7bb58de1 authored by Freddy's avatar Freddy
Browse files

Make $this->maxlag accessible for function start

parent c0b5aa30
......@@ -37,6 +37,7 @@ class Core extends Password {
if ($assert !== 'bot' && $assert !== 'user')
throw new Exception('assert has to be \'bot\' or \'user\'');
$this->assert = $assert;
$this->setMaxlag(5);
$this->start($account);
$this->job = $job;
if ($pUseHTTPS === true)
......@@ -53,7 +54,6 @@ class Core extends Password {
echo "\n***** Starting up....\nVersion: " . $this->version . "\n*****";
$this->ua = "User:" . $this->username . " - " . $this->job . " - " . $this->version;
// change if you need more, default is 5
$this->setMaxlag(5);
}
/** initcurlArgs
* Use this function instead of initcurl if you want to use args or console to tell the bot the password
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment